comparison lwasm/lwasm.h @ 198:6ddc861a07d4

Allow export to import undefined symbols
author lost
date Sun, 22 Mar 2009 18:26:59 +0000
parents 563adfccb645
children 048ebb85f6ef
comparison
equal deleted inserted replaced
197:12fb4e8d5236 198:6ddc861a07d4
185 // any undefined symbols are considered external 185 // any undefined symbols are considered external
186 #define PRAGMA_UNDEFEXTERN 2 186 #define PRAGMA_UNDEFEXTERN 2
187 // allow C-style escapes in fcc, fcs, and fcn directives 187 // allow C-style escapes in fcc, fcs, and fcn directives
188 #define PRAGMA_CESCAPES 4 188 #define PRAGMA_CESCAPES 4
189 189
190 // allow "export <undefsym>" to import the symbol
191 #define PRAGMA_IMPORTUNDEFEXPORT 8
192
190 #ifndef __lwasm_c_seen__ 193 #ifndef __lwasm_c_seen__
191 #define __lwasm_E__ extern 194 #define __lwasm_E__ extern
192 #else 195 #else
193 #define __lwasm_E__ 196 #define __lwasm_E__
194 #endif 197 #endif