Lines Matching defs:runtime
36 int SwigRuntime = 0; // 0 = no option, 1 = -runtime, 2 = -noruntime
74 -external-runtime [file] - Export the SWIG runtime stack\n\
360 /* This function handles the -external-runtime command option */
363 File *runtime;
370 Printf(stderr, "*** Please provide a filename for the external runtime\n");
375 runtime = NewFile(outfile, "w", SWIG_output_files());
376 if (!runtime) {
381 Swig_banner(runtime);
382 Printf(runtime, "\n");
387 Close(runtime);
390 Printf(runtime, "%s", s);
396 Close(runtime);
399 Printf(runtime, "%s", s);
405 Close(runtime);
408 Printf(runtime, "%s", s);
412 Close(runtime);
415 Printf(runtime, "%s", s);
419 Printf(runtime, "%s", s);
422 s = Swig_include_sys("runtime.swg");
424 Printf(stderr, "*** Unable to open 'runtime.swg'\n");
425 Close(runtime);
428 Printf(runtime, "%s", s);
431 Close(runtime);
432 Delete(runtime);
504 } else if (strcmp(argv[i], "-runtime") == 0) { // Used to also accept -c. removed in swig-1.3.36
506 Swig_warning(WARN_DEPRECATED_OPTC, "SWIG", 1, "-runtime, -noruntime command line options are deprecated.\n");
510 Swig_warning(WARN_DEPRECATED_OPTC, "SWIG", 1, "-runtime, -noruntime command line options are deprecated.\n");
512 } else if (strcmp(argv[i], "-external-runtime") == 0) {
903 // Don't check for an input file if -external-runtime is passed
937 // handle the -external-runtime argument