AntiDebug LIB Function Reference

GJ_less_equal

 

Syntx

    bool GJ_less_equal(X& dest,X& src)

Parameters

    dest

        first operation data

    src

        second operation data

Return Value

    Return dest<=src.

Usage

    int a=1;
    int b=2;
    #ifndef  _ANTIDEBUG
        if(a<=b) AfxMessageBox("ok");
    #else
        if(GJ_less_equal(a,b)) AfxMessageBox("ok");
    #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.