From f76d63419f611c0b4526415f7883d6e5ec4df3b6 Mon Sep 17 00:00:00 2001 From: Karl Wette Date: Wed, 23 May 2012 09:32:51 +0000 Subject: [PATCH] [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 --- Lib/octave/octrun.swg | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Lib/octave/octrun.swg b/Lib/octave/octrun.swg index 24dae705a..dfb4a7702 100644 --- a/Lib/octave/octrun.swg +++ b/Lib/octave/octrun.swg @@ -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;