AntiDebug LIB Function Reference

GJ_sub
GJ_sub_demo

 

Syntx

    X& GJ_sub(X& dest,X& src)

Parameters

    dest 

       first operation data

    src 

       second operation data

Return Value

    Return The reference of dest.
     dest=dest-src

Usage

    int a=1;
    int b=2;
    #ifndef  _ANTIDEBUG
        a=a-b;
    #else
        a=GJ_sub(a,b);
    #endif

Remarks

    Data type X may be char,unsigned char,signed char,int,unsigned int,short int,unsigned short int,long int,unsigned long int besides float,double,long double.