comparison lwasm/lwasm.h @ 206:080bb67d84f2

Add export pragma Added a pragma "export" which causes all exportable symbols to be exported automatically.
author William Astle <lost@l-w.ca>
date Thu, 24 May 2012 17:28:15 -0600
parents 17bd59f045af
children 07e1fac76321
comparison
equal deleted inserted replaced
205:806e5fc6dd93 206:080bb67d84f2
80 PRAGMA_CESCAPES = 0x0008, // allow C style escapes in fcc, fcs, fcn, etc. 80 PRAGMA_CESCAPES = 0x0008, // allow C style escapes in fcc, fcs, fcn, etc.
81 PRAGMA_IMPORTUNDEFEXPORT = 0x0010, // imports symbol if undefined upon export 81 PRAGMA_IMPORTUNDEFEXPORT = 0x0010, // imports symbol if undefined upon export
82 PRAGMA_PCASPCR = 0x0020, // treats ,PC as ,PCR instead of constant offset 82 PRAGMA_PCASPCR = 0x0020, // treats ,PC as ,PCR instead of constant offset
83 PRAGMA_SHADOW = 0x0040, // allow macros to shadow builtin operations 83 PRAGMA_SHADOW = 0x0040, // allow macros to shadow builtin operations
84 PRAGMA_NOLIST = 0x0080, // don't show line in listing 84 PRAGMA_NOLIST = 0x0080, // don't show line in listing
85 PRAGMA_AUTOBRANCHLENGTH = 0x0100 // automatically select proper length for relative branches 85 PRAGMA_AUTOBRANCHLENGTH = 0x0100, // automatically select proper length for relative branches
86 PRAGMA_EXPORT = 0x0200 // export symbols by default, unless local
86 }; 87 };
87 88
88 89
89 enum 90 enum
90 { 91 {