Merge branch 'octave_swig_this'
* octave_swig_this: Changed return type of swig_this() to size_t.
This commit is contained in:
commit
40ec65ae5e
1 changed files with 3 additions and 3 deletions
|
|
@ -507,10 +507,10 @@ SWIGRUNTIME void swig_acquire_ownership_obj(void *vptr, int own);
|
|||
delete this;
|
||||
}
|
||||
|
||||
long swig_this() const {
|
||||
size_t swig_this() const {
|
||||
if (!types.size())
|
||||
return (long) this;
|
||||
return (long) types[0].second.ptr;
|
||||
return (size_t) this;
|
||||
return (size_t) types[0].second.ptr;
|
||||
}
|
||||
const char* help_text() const {
|
||||
if (!types.size())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue