trick/include/trick/swig/swig_ref.hh
Alex Lin 733d64a250 Trick swig headers don't make it to the destination directory with make install
Moved the header files and the swig .i files to include/trick/swig.  Adjusted the
source files and the convert_swig script to find the headers in their new
location.

refs #67
2015-06-17 14:07:52 -05:00

37 lines
722 B
C++

#ifndef SWIG_REF_HH
#define SWIG_REF_HH
#include <string>
#include "trick/reference.h"
#define TRICK_SWIG_PARAMETER_INCORRECT_TYPE 9
#define TRICK_SWIG_SLICE_ASSIGNMENT 10
#define TRICK_SWIG_UNKNOWN_INDEX_TYPE 11
class swig_ref {
public:
REF2 ref ;
char * str_output ;
swig_ref() ;
~swig_ref() ;
PyObject * __getitem__(int ii) ;
PyObject * __getitem__(PyObject * index) ;
int __setitem__( int ii, PyObject * obj1 ) ;
int __setitem__( PyObject * index , PyObject * obj1 ) ;
char * __str__() ;
char * __repr__() ;
PyObject * __len__() ;
private:
bool need_to_deref ;
void deref_address() ;
} ;
#endif