develop
Petr Mrázek 2010-02-27 13:24:32 +01:00
parent 562c30c703
commit 7805b591dd
2 changed files with 3 additions and 1 deletions

@ -2,8 +2,9 @@
%include "std_string.i"
%include "std_vector.i"
%include "stdint.i"
/* This goes to the header of the wrapper code */
%{
/* Includes the header in the wrapper code */
#define LINUX_BUILD
#define SWIG_WRAPPER
#include "DFTypes.h"

@ -7,3 +7,4 @@ if x.Attach():
print "Dumping all stone"
for matgloss in y:
print "ID %s, name %s" % (matgloss.id, matgloss.name)
x.Detach()