| 254 | } |
| 255 | |
| 256 | nullres nullcCompile(const char* code) |
| 257 | { |
| 258 | using namespace NULLC; |
| 259 | NULLC_CHECK_INITIALIZED(false); |
| 260 | |
| 261 | nullcLastError = ""; |
| 262 | nullres good = compiler->Compile(code); |
| 263 | if(good == 0) |
| 264 | nullcLastError = compiler->GetError(); |
| 265 | return good; |
| 266 | } |
| 267 | |
| 268 | unsigned int nullcGetBytecode(char **bytecode) |
| 269 | { |