modifying build system not to rely on the -I path to find the input files avoiding warning 125: move python .i files up one directory, some files have been renamed - prepended with python
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10953 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
c3047165d6
commit
b266e1f68c
29 changed files with 19 additions and 72 deletions
|
|
@ -1,25 +0,0 @@
|
|||
%module swigobject
|
||||
|
||||
|
||||
|
||||
%inline
|
||||
{
|
||||
struct A {
|
||||
char name[4];
|
||||
};
|
||||
|
||||
const char* pointer_str(A *a){
|
||||
static char result[1024];
|
||||
sprintf(result,"0x%lx", (unsigned long)(void *)a);
|
||||
return result;
|
||||
}
|
||||
|
||||
A *a_ptr(A *a){
|
||||
return a;
|
||||
}
|
||||
|
||||
|
||||
void *v_ptr(void *a){
|
||||
return a;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue