*** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@179 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
078fffaada
commit
e3fcdffa6c
1 changed files with 21 additions and 0 deletions
21
SWIG/CHANGES
21
SWIG/CHANGES
|
|
@ -1,5 +1,26 @@
|
|||
SWIG (Simplified Wrapper and Interface Generator)
|
||||
|
||||
2/1/00 : Upgraded the Python module to use a new type-checking scheme that
|
||||
is more memory efficient, provides better performance, and
|
||||
is less error prone. Unfortunately, it will break all code that
|
||||
depends on the SWIG_GetPtr() function call in typemaps.
|
||||
These functions should be changed as follows:
|
||||
|
||||
if (SWIG_GetPtr(string,&ptr,"_Foo_p")) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
becomes
|
||||
|
||||
if (SWIG_ConvertPtr(pyobj, &ptr, SWIG_TYPE_Foo_p) == -1) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Note: In the new implementation SWIG_TYPE_Foo_p is no longer
|
||||
a type-signature string, but rather an index into a type
|
||||
encoding table that contains type information.
|
||||
*** POTENTIAL INCOMPATIBILITY ***
|
||||
|
||||
1/30/00 : loic
|
||||
Conditionaly compile experimental code with --enable-experiment
|
||||
configure flag.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue