Replace all exit() with SWIG_exit()
For consistent cleanup on error
This commit is contained in:
parent
b36ae64185
commit
2cf075558c
11 changed files with 24 additions and 24 deletions
|
|
@ -371,7 +371,6 @@ struct TargetLanguageModule {
|
|||
int SWIG_main(int argc, char *argv[], const TargetLanguageModule *tlm);
|
||||
void emit_parameter_variables(ParmList *l, Wrapper *f);
|
||||
void emit_return_variable(Node *n, SwigType *rt, Wrapper *f);
|
||||
void SWIG_exit(int); /* use EXIT_{SUCCESS,FAILURE} */
|
||||
void SWIG_config_file(const_String_or_char_ptr );
|
||||
const String *SWIG_output_directory();
|
||||
void SWIG_config_cppext(const char *ext);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue