swig/Examples/test-suite/preproc_gcc_output.i
William S Fulton 1f46d9b7b9 Fix regression parsing gcc preprocessor linemarkers
These are preprocessor statement in the form:

 # linenum filename flags

Closes #1475
2019-02-19 21:32:04 +00:00

12 lines
324 B
OpenEdge ABL

%module preproc_gcc_output
// Testcase for Github issue #1475 using the output of gcc -E
// The file below was generated using 'gcc -E header1.h'
// where header1.h included header2.h
%include "preproc_gcc_output.h"
%{
void header1_function_a(int a) {}
void header2_function(int x) {}
void header1_function_b(int b) {}
%}