home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 19 / AACD19.BIN / AACD / Programming / MCC_GLArea / MCC_GLArea_Dev / GLArea_Demo / Useful / glusm.h < prev    next >
Encoding:
C/C++ Source or Header  |  1980-01-01  |  314 b   |  22 lines

  1. #include <stdio.h>
  2. #include <exec/libraries.h>
  3.  
  4. struct glureg
  5. {
  6.     int size;
  7.     struct Library* glbase;
  8. };
  9. #ifdef __cplusplus
  10. extern "C" {
  11. #endif
  12. #ifdef __GNUC__
  13. void registerGLU(struct glureg *ptr __asm("a0"));
  14. #else
  15. void registerGLU(struct glureg *ptr);
  16. #endif
  17. // extern void exit(int);
  18. #ifdef __cplusplus
  19. }
  20. #endif
  21.  
  22.