cplusLib.h
上传用户:luoyougen
上传日期:2008-05-12
资源大小:23136k
文件大小:1k
源码类别:

VxWorks

开发平台:

C/C++

  1. /* cplusLib.h - VxWorks C++ support */
  2. /* Copyright 1992,1993 Wind River Systems, Inc. */
  3. /*
  4. modification history
  5. --------------------
  6. 01c,07dec01,sn   added demangler declarations
  7. 01b,26apr93,srh  added cplus?torsLink declarations.
  8. 01a,01jan93,srh  written.
  9. */
  10. #ifndef __INCcplusLibh
  11. #define __INCcplusLibh
  12. #include "private/cplusLibP.h"
  13. #ifdef __cplusplus
  14. extern "C" {
  15. #endif
  16. typedef enum demangler_style
  17.     {
  18.     DMGL_STYLE_GNU,
  19.     DMGL_STYLE_DIAB,
  20.     DMGL_STYLE_ARM
  21.     } DEMANGLER_STYLE;
  22. /* function declarations */
  23. #if defined(__STDC__) || defined(__cplusplus)
  24. void cplusCtors (const char * moduleName);
  25. void cplusDtors (const char * moduleName);
  26. void cplusCtorsLink ();
  27. void cplusDtorsLink ();
  28. void cplusDemanglerSet (int mode);
  29. void cplusDemanglerStyleSet (DEMANGLER_STYLE style);
  30. void cplusXtorSet (int strategy);
  31. #else   /* __STDC__ */
  32. void cplusCtors ();
  33. void cplusDtors ();
  34. void cplusCtorsLink ();
  35. void cplusDtorsLink ();
  36. void cplusDemanglerSet ();
  37. void cplusXtorSet ();
  38. #endif  /* __STDC__ */
  39. #ifdef __cplusplus
  40. }
  41. #endif
  42. #endif /* __INCcplusLibh */