mirror of
https://github.com/nasa/trick.git
synced 2025-01-29 15:43:57 +00:00
parent
3bffe16e2c
commit
3190292cf3
@ -1,6 +1,8 @@
|
||||
|
||||
%module swig_double
|
||||
|
||||
%include "std_string.i"
|
||||
|
||||
%{
|
||||
|
||||
#include "trick/swig/swig_double.hh"
|
||||
@ -11,6 +13,8 @@
|
||||
// expose the __str__ function to swig so that it can do pretty prints of parameters with units
|
||||
class swig_double {
|
||||
public:
|
||||
std::string units;
|
||||
|
||||
char * __str__() ;
|
||||
char * __repr__() ;
|
||||
|
||||
|
@ -1,6 +1,8 @@
|
||||
|
||||
%module swig_int
|
||||
|
||||
%include "std_string.i"
|
||||
|
||||
%{
|
||||
|
||||
#include "trick/swig/swig_int.hh"
|
||||
@ -11,6 +13,8 @@
|
||||
// expose the __str__ function to swig so that it can do pretty prints of parameters with units
|
||||
class swig_int {
|
||||
public:
|
||||
std::string units;
|
||||
|
||||
char * __str__() ;
|
||||
char * __repr__() ;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user