diff libinterp/octave-value/ov-java.cc @ 30001:428cccc75cc9

move most functions in variables.cc to octave namespace * variables.h, variables.cc: Move most functions to octave namespace. Provide deprecated inline wrapper functions to preserve old names. Change all uses as needed. (SET_INTERNAL_VARIABLE, SET_NONEMPTY_INTERNAL_STRING_VARIABLE, SET_INTERNAL_VARIABLE_WITH_LIMITS, SET_INTERNAL_VARIABLE_CHOICES): Note that these macros are obsolete. * dirfns.cc, ls-oct-text.cc, pr-flt-fmt.cc, pr-output.cc, svd.cc, ov-base.cc, ov-java.cc, ov-struct.cc, ov-usr-fcn.cc, ov.cc: Eliminate use of SET_INTERNAL_VARIABLE macros.
author John W. Eaton <jwe@octave.org>
date Wed, 18 Aug 2021 11:40:25 -0400
parents 65c609504036
children 849bd0f1129c
line wrap: on
line diff
--- a/libinterp/octave-value/ov-java.cc	Wed Aug 18 09:23:45 2021 -0400
+++ b/libinterp/octave-value/ov-java.cc	Wed Aug 18 11:40:25 2021 -0400
@@ -3385,7 +3385,8 @@
 {
 #if defined (HAVE_JAVA)
 
-  return SET_INTERNAL_VARIABLE (java_matrix_autoconversion);
+  return set_internal_variable (Vjava_matrix_autoconversion, args, nargout,
+                                "java_matrix_autoconversion");
 
 #else
 
@@ -3416,7 +3417,8 @@
 {
 #if defined (HAVE_JAVA)
 
-  return SET_INTERNAL_VARIABLE (java_unsigned_autoconversion);
+  return set_internal_variable (Vjava_unsigned_autoconversion, args, nargout,
+                                "java_unsigned_autoconversion");
 
 #else
 
@@ -3445,7 +3447,7 @@
 {
 #if defined (HAVE_JAVA)
 
-  return SET_INTERNAL_VARIABLE (debug_java);
+  return set_internal_variable (Vdebug_java, args, nargout, "debug_java");
 
 #else