extending std_string and more fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5771 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
8cc9533152
commit
2568b57d46
11 changed files with 248 additions and 111 deletions
|
|
@ -45,7 +45,7 @@
|
|||
"$result = pyobj_from((__VA_ARGS__)$1);";
|
||||
%enddef
|
||||
|
||||
/* Primitive types */
|
||||
/* constant installation code */
|
||||
%define PYVAL_CONSTCODE_TYPEMAP(pyobj_from,pyfrag,...)
|
||||
%typemap(constcode,fragment=pyfrag) __VA_ARGS__
|
||||
"PyDict_SetItemString(d,\"$symname\", pyobj_from((__VA_ARGS__)$value));";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue