26.05.2014, 15:54
am getting this
the error shows on this rbits.inc
Код:
error 025: function heading differs from prototype
Код:
// its showing the error on the stock bit_set. stock Bit_Set(BIT_TAGS: abArray[], iIdx, const iValue, const e_Bits: iShift, const iSize = sizeof(abArray)) { new bVar = ((iIdx & ((1 << _: (Bit32 - iShift)) - 1)) << _: iShift), bLim = ((1 << (1 << _: iShift)) - 1) ; iIdx = (iIdx >>> _: (Bit32 - iShift)); if(!(-1 < iIdx < iSize)) { return 0; } (_: abArray[iIdx] &= ~(bLim << bVar)); (_: abArray[iIdx] |= ((bLim & iValue) << bVar)); return 1; }