[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:
Karl Wette 2012-05-23 09:32:51 +00:00
commit f76d63419f

View file

@ -135,9 +135,11 @@ namespace Swig {
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_array(void *vptr);
SWIGRUNTIME void swig_acquire_ownership_obj(void *vptr, int own);
#endif
struct swig_octave_member {
const char *name;