#ifndef _VBCCINLINE_RADIOBUTTON_H #define _VBCCINLINE_RADIOBUTTON_H #ifndef EXEC_TYPES_H #include #endif #ifndef EMUL_EMULREGS_H #include #endif Class * __RADIOBUTTON_GetClass(void *) = "\tlwz\t11,100(2)\n" "\tstw\t3,56(2)\n" "\tmtctr\t11\n" "\tli\t3,-30\n" "\tbctrl"; #define RADIOBUTTON_GetClass() __RADIOBUTTON_GetClass(RadioButtonBase) struct Node * __AllocRadioButtonNodeA(void *, ULONG columns, struct TagItem * tags) = "\tlwz\t11,100(2)\n" "\tstw\t3,56(2)\n" "\tmtctr\t11\n" "\tstw\t4,0(2)\n" "\tstw\t5,32(2)\n" "\tli\t3,-36\n" "\tbctrl"; #define AllocRadioButtonNodeA(columns, tags) __AllocRadioButtonNodeA(RadioButtonBase, (columns), (tags)) #if !defined(NO_INLINE_STDARG) && (__STDC__ == 1L) && (__STDC_VERSION__ >= 199901L) struct Node * __linearvarargs __AllocRadioButtonNode(void *, ULONG columns, ...) = "\tlwz\t11,100(2)\n" "\tstw\t3,56(2)\n" "\tmtctr\t11\n" "\tstw\t4,0(2)\n" "\taddi\t12,1,8\n" "\tstw\t12,32(2)\n" "\tli\t3,-36\n" "\tbctrl"; #define AllocRadioButtonNode(columns, ...) __AllocRadioButtonNode(RadioButtonBase, (columns), __VA_ARGS__) #endif VOID __FreeRadioButtonNode(void *, struct Node * node) = "\tlwz\t11,100(2)\n" "\tstw\t3,56(2)\n" "\tmtctr\t11\n" "\tstw\t4,32(2)\n" "\tli\t3,-42\n" "\tbctrl"; #define FreeRadioButtonNode(node) __FreeRadioButtonNode(RadioButtonBase, (node)) VOID __SetRadioButtonNodeAttrsA(void *, struct Node * node, struct TagItem * tags) = "\tlwz\t11,100(2)\n" "\tstw\t3,56(2)\n" "\tmtctr\t11\n" "\tstw\t4,32(2)\n" "\tstw\t5,36(2)\n" "\tli\t3,-48\n" "\tbctrl"; #define SetRadioButtonNodeAttrsA(node, tags) __SetRadioButtonNodeAttrsA(RadioButtonBase, (node), (tags)) #if !defined(NO_INLINE_STDARG) && (__STDC__ == 1L) && (__STDC_VERSION__ >= 199901L) VOID __linearvarargs __SetRadioButtonNodeAttrs(void *, struct Node * node, ...) = "\tlwz\t11,100(2)\n" "\tstw\t3,56(2)\n" "\tmtctr\t11\n" "\tstw\t4,32(2)\n" "\taddi\t12,1,8\n" "\tstw\t12,36(2)\n" "\tli\t3,-48\n" "\tbctrl"; #define SetRadioButtonNodeAttrs(...) __SetRadioButtonNodeAttrs(RadioButtonBase, __VA_ARGS__) #endif VOID __GetRadioButtonNodeAttrsA(void *, struct Node * node, struct TagItem * tags) = "\tlwz\t11,100(2)\n" "\tstw\t3,56(2)\n" "\tmtctr\t11\n" "\tstw\t4,32(2)\n" "\tstw\t5,36(2)\n" "\tli\t3,-54\n" "\tbctrl"; #define GetRadioButtonNodeAttrsA(node, tags) __GetRadioButtonNodeAttrsA(RadioButtonBase, (node), (tags)) #if !defined(NO_INLINE_STDARG) && (__STDC__ == 1L) && (__STDC_VERSION__ >= 199901L) VOID __linearvarargs __GetRadioButtonNodeAttrs(void *, struct Node * node, ...) = "\tlwz\t11,100(2)\n" "\tstw\t3,56(2)\n" "\tmtctr\t11\n" "\tstw\t4,32(2)\n" "\taddi\t12,1,8\n" "\tstw\t12,36(2)\n" "\tli\t3,-54\n" "\tbctrl"; #define GetRadioButtonNodeAttrs(...) __GetRadioButtonNodeAttrs(RadioButtonBase, __VA_ARGS__) #endif #endif /* _VBCCINLINE_RADIOBUTTON_H */