[octave] Declare these functions only if directors are used
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13108 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
f8135379a1
commit
f76d63419f
1 changed files with 2 additions and 0 deletions
|
|
@ -135,9 +135,11 @@ namespace Swig {
|
||||||
SWIGRUNTIME octave_swig_type *swig_value_deref(const octave_base_value &ov);
|
SWIGRUNTIME octave_swig_type *swig_value_deref(const octave_base_value &ov);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef SWIG_DIRECTORS
|
||||||
SWIGRUNTIME void swig_acquire_ownership(void *vptr);
|
SWIGRUNTIME void swig_acquire_ownership(void *vptr);
|
||||||
SWIGRUNTIME void swig_acquire_ownership_array(void *vptr);
|
SWIGRUNTIME void swig_acquire_ownership_array(void *vptr);
|
||||||
SWIGRUNTIME void swig_acquire_ownership_obj(void *vptr, int own);
|
SWIGRUNTIME void swig_acquire_ownership_obj(void *vptr, int own);
|
||||||
|
#endif
|
||||||
|
|
||||||
struct swig_octave_member {
|
struct swig_octave_member {
|
||||||
const char *name;
|
const char *name;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue