MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / myexit

Function myexit

samples/fun_call_performance.cpp:230–232  ·  view source on GitHub ↗

We have to wrap exit with our own because Clang has a hard time with function pointers to functions with special attributes (system exit being marked NORETURN)

Source from the content-addressed store, hash-verified

228// We have to wrap exit with our own because Clang has a hard time with
229// function pointers to functions with special attributes (system exit being marked NORETURN)
230void myexit(int return_val) {
231 exit(return_val);
232}
233
234void interactive(chaiscript::ChaiScript& chai)
235{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected