home *** CD-ROM | disk | FTP | other *** search
/ Amiga Times / AmigaTimes.iso / programme / GoldED / developer / examples / syntax / warpcpp / init.c < prev    next >
Encoding:
C/C++ Source or Header  |  1998-10-06  |  453 b   |  39 lines

  1. #include "defs.h"
  2.  
  3. /// "Prototypes"
  4.  
  5. Prototype long InitC(void);
  6. Prototype void ExitC(void);
  7.  
  8. ///
  9. /// "Init"
  10.  
  11. /* ----------------------------------- InitC -----------------------------------
  12.  
  13.  Library startup code (C entry point).
  14.  
  15. */
  16.  
  17. long
  18. InitC(void)
  19. {
  20.     return(MemoryInit());
  21. }
  22.  
  23. ///
  24. /// "Exit"
  25.  
  26. /* ----------------------------------- ExitC -----------------------------------
  27.  
  28.  Library cleanup code
  29.  
  30. */
  31.  
  32. void
  33. ExitC(void)
  34. {
  35.     MemoryExit();
  36. }
  37.  
  38. ///
  39.