123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- #ifndef __cint_h
- #define __cint_h
- #ifdef __cplusplus
- extern "C" {
- #endif
- #define MAX_TRAPS 8
- #define MAX_INTRS 256
- extern void _init_vectab (void);
- extern void _init_hnd_chain (void);
- extern int _install_int_handler (int intno, void (*handler) (int), int arg);
- extern void *_install_chained_int_handler (int intno, void (*handler) (int),
- int arg);
- extern int _remove_chained_int_handler (int intno, void *ptr);
- extern int _install_trap_handler (int trapno, void (*handler) (int));
- #define TrapInit _init_vectab
- #define cintsetup _init_vectab
- #define cinthandler _install_int_handler
- #define ccintsetup _init_hnd_chain
- #define ccinthandler _install_chained_int_handler
- #define freechain_hnd _remove_chained_int_handler
- #define ctraphandler _install_trap_handler
- #ifdef __cplusplus
- }
- #endif
- #endif
|