1 /**************************************************************** 2 * library.h * 3 * Header for Rex addin program. * 4 * * 5 ****************************************************************/ 6 7 #ifndef _LIB_H_ 8 #define _LIB_H_ 9 10 11 #pragma -shareoffset=12 12 #pragma -shared-file 13 14 15 #define getFuncID() asm("ld\tix,10\nadd\tix,sp\nld\tl,(ix+0)\nld\th,(ix+1)") 16 17 #endif 18