From f83e2a7de712b79c25fce4cb4353e03bab2eb7cb Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 17 Sep 2022 14:39:23 +0200 Subject: [PATCH] Stop using SWIG_exit() in C backend This function doesn't exist any more. --- Source/Modules/c.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Modules/c.cxx b/Source/Modules/c.cxx index 5e6a4cd91..3c1b186c7 100644 --- a/Source/Modules/c.cxx +++ b/Source/Modules/c.cxx @@ -1790,7 +1790,7 @@ public: const scoped_dohptr f_wrappers_cxx(NewFile(outfile, "w", SWIG_output_files())); if (!f_wrappers_cxx) { FileErrorDisplay(outfile); - SWIG_exit(EXIT_FAILURE); + Exit(EXIT_FAILURE); } Swig_banner(f_wrappers_cxx); @@ -1800,7 +1800,7 @@ public: const scoped_dohptr f_wrappers_h(NewFile(outfile_h, "w", SWIG_output_files())); if (!f_wrappers_h) { FileErrorDisplay(outfile_h); - SWIG_exit(EXIT_FAILURE); + Exit(EXIT_FAILURE); } Swig_banner(f_wrappers_h);