Skip to content

Commit

Permalink
Get correct type for version
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanMeans committed Mar 4, 2020
1 parent 7baf850 commit 30c24d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion modules/c/nrt/include/nrt/nrt_config.h.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@

#include <config/coda_oss_config.h>

#define NRT_LIB_VERSION @NITRO_VERSION@
#define NRT_LIB_VERSION "@NITRO_VERSION@"

#endif
5 changes: 1 addition & 4 deletions modules/python/nitf/source/generated/nitroPYTHON_wrap.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -3760,9 +3760,6 @@ SWIG_AsVal_bool (PyObject *obj, bool *val)
}


#define SWIG_From_double PyFloat_FromDouble


SWIGINTERN int
SWIG_AsVal_char (PyObject * obj, char *val)
{
Expand Down Expand Up @@ -34703,7 +34700,7 @@ SWIG_init(void) {
SWIG_Python_SetConstant(d, "NITF_DATE_FORMAT_20",SWIG_FromCharPtr("%d%H%M%SZ%b%y"));
SWIG_Python_SetConstant(d, "NITF_DATE_FORMAT_21",SWIG_FromCharPtr("%Y%m%d%H%M%S"));
SWIG_Python_SetConstant(d, "NITF_TRE_HASH_SIZE",SWIG_From_int(static_cast< int >(8)));
SWIG_Python_SetConstant(d, "NRT_LIB_VERSION",SWIG_From_double(static_cast< double >(2.8)));
SWIG_Python_SetConstant(d, "NRT_LIB_VERSION",SWIG_FromCharPtr("2.8"));
SWIG_Python_SetConstant(d, "NITF_LIB_VERSION",SWIG_FromCharPtr("2.8"));
SWIG_Python_SetConstant(d, "NITF_COMPRESSION_HASH_SIZE",SWIG_From_int(static_cast< int >(2)));
SWIG_Python_SetConstant(d, "NITF_DECOMPRESSION_HASH_SIZE",SWIG_From_int(static_cast< int >(2)));
Expand Down

0 comments on commit 30c24d1

Please sign in to comment.