sgs_DumpCompiled [function]
SGSRESULT sgs_DumpCompiled( sgs_Context* C, const char* buf, size_t size )
Dump compiled bytecode or SGScript code buffer to stdout.
- Code is compiled before dumping if SGScript code is passed.
- In that case, all info/warning/error messages are passed to the Messaging system.
Error codes:
- SGS_ECOMP: compiler error
- SGS_EINVAL: passed data was too big