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