~z-man/armagetronad/0.4-armagetronad-ct-unified

« back to all changes in this revision

Viewing changes to src/swig/ext/defs.i

  • Committer: Voodoo
  • Date: 2012-04-06 15:54:12 UTC
  • Revision ID: erollet@yahoo.fr-20120406155412-sy2qxgd66zxeb36x
reorganize .i files + fix some warnings

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
%{
2
 
#if defined(SWIGPYTHON)
3
 
#include "scripting/sScripting.h"
4
 
extern sCallable::ptr CreateCallablePython(PyObject * input); 
5
 
#endif
6
2
%}
7
3
 
8
4
typedef float REAL;
9
5
 
10
 
#if defined(SWIGPYTHON)
11
 
%typemap(in) sCallable::ptr {
12
 
    $1 = CreateCallablePython($input);
13
 
}
14
 
#endif
15