chiark
/
gitweb
/
~ianmdlvl
/
nlopt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3cb437
)
missing nlopt- prefix for version_* functions
author
stevenj
<stevenj@alum.mit.edu>
Tue, 6 Jul 2010 23:51:46 +0000
(19:51 -0400)
committer
stevenj
<stevenj@alum.mit.edu>
Tue, 6 Jul 2010 23:51:46 +0000
(19:51 -0400)
darcs-hash:
20100706235146
-c8de0-
37ee2ead46ceae2a966292480f9c89e34793f252
.gz
swig/nlopt.i
patch
|
blob
|
history
diff --git
a/swig/nlopt.i
b/swig/nlopt.i
index 771cc2440ce1ad677838356ba0751e2b5f5efa7f..4bc5587b3bb715727ca31f47289cc982c906ccbc 100644
(file)
--- a/
swig/nlopt.i
+++ b/
swig/nlopt.i
@@
-17,6
+17,9
@@
namespace std {
%rename(nlopt_srand) nlopt::srand;
%rename(nlopt_srand_time) nlopt::srand_time;
%rename(nlopt_version) nlopt::version;
+%rename(nlopt_version_major) nlopt::version_major;
+%rename(nlopt_version_minor) nlopt::version_minor;
+%rename(nlopt_version_bugfix) nlopt::version_bugfix;
%rename(nlopt_algorithm_name) nlopt::algorithm_name;
%include "nlopt-enum-renames.i"
#endif