CScript
API Reference



Application Startup/Shutdown APIs

cs_ctx_init
cs_ctx_global
cs_ctx_exit

Parse/Execute APIs

cs_prog_alloc
cs_prog_free
cs_prog_parsefile
cs_prog_parsebuf
cs_prog_prepare
cs_main_var
cs_main_run

Extension APIs

cs_package_define
cs_arg_get
cs_arg_set
cs_result_int
cs_result_number
cs_result_string
cs_result_object
cs_result_array
Utility APIs

cs_throw
cs_object_clear

Code Examples

icscript.c


CScript Documentation