From d72e3dd899e4c359a874bb621d9721aaac23bfb9 Mon Sep 17 00:00:00 2001 From: Karl Wette Date: Wed, 5 Jun 2013 20:32:07 +0200 Subject: [PATCH] Octave: add SWIGRUNTIMEINLINE to SWIG_Octave_SetConstant() --- Lib/octave/octrun.swg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/octave/octrun.swg b/Lib/octave/octrun.swg index 8fdb12086..41d1c7afa 100644 --- a/Lib/octave/octrun.swg +++ b/Lib/octave/octrun.swg @@ -1280,7 +1280,7 @@ SWIGRUNTIME int SWIG_Octave_ConvertPacked(const octave_value &ov, void *ptr, siz return ost->copy(type, (char *) ptr, sz) ? SWIG_OK : SWIG_ERROR; } -void SWIG_Octave_SetConstant(octave_swig_type *module_ns, const std::string &name, const octave_value &ov) { +SWIGRUNTIMEINLINE void SWIG_Octave_SetConstant(octave_swig_type *module_ns, const std::string &name, const octave_value &ov) { module_ns->assign(name, ov); }