I'm converting a c decompression code to freebasic, whith plenty of macros
after preprocessing result, i've got many parts of code i do not understant , as the following
Code: Select all
if (!((bits=bits&0x7fffffff? (resbits=bits,bits+bits) : (src+=4,resbits=*((Ulong *)(src-4)),(resbits<<1)+1)),resbits>>31))
all the var are unsigned 32 bits int
what i don't understand is (resbits=bits,bits+bits) and the (src+=4,resbits=*((Ulong *)(src-4)),(resbits<<1)+1)),resbits>>31
all the parenthesis and the , in between...
some of you can help ?
Thanks in advance