git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9422 626c5289-ae23-0410-ae9c-e8d60b6d4f22
35 lines
622 B
OpenEdge ABL
35 lines
622 B
OpenEdge ABL
%module inctest
|
|
|
|
//
|
|
// This test fails if swig is not able to include
|
|
// the following two files:
|
|
//
|
|
// 'testdir/subdir1/hello.i'
|
|
// 'testdir/subdir2/hello.i'
|
|
//
|
|
// since they have the same basename 'hello', swig is only
|
|
// including one. This is not right, it must include both,
|
|
// as the well known compilers do.
|
|
//
|
|
// Also repeats the test for the import directive in subdirectories
|
|
|
|
%include "testdir/test.i"
|
|
|
|
|
|
// Bug #1162194
|
|
%inline %{
|
|
typedef struct {
|
|
#include "inctest.h"
|
|
} MY_TYPES;
|
|
|
|
%}
|
|
|
|
%{
|
|
typedef struct {
|
|
#include "inctest.h"
|
|
} MY_THINGS;
|
|
%}
|
|
|
|
typedef struct {
|
|
%include "inctest.h"
|
|
} MY_THINGS;
|