diff src/ov-usr-fcn.h @ 6149:3a68a2dc6eb1

[project @ 2006-11-09 18:26:56 by jwe]
author jwe
date Thu, 09 Nov 2006 18:26:56 +0000
parents 415ae81d331b
children ea65de49e18e
line wrap: on
line diff
--- a/src/ov-usr-fcn.h	Thu Nov 09 07:28:55 2006 +0000
+++ b/src/ov-usr-fcn.h	Thu Nov 09 18:26:56 2006 +0000
@@ -146,6 +146,10 @@
 
   bool is_nested_function (void) const { return nested_function; }
 
+  void mark_as_inline_function (void) { inline_function = true; }
+
+  bool is_inline_function (void) const { return inline_function; }
+
   void save_args_passed (const octave_value_list& args)
     {
       if (call_depth > 1)
@@ -240,6 +244,9 @@
   // TRUE means this is a nested function.
   bool nested_function;
 
+  // TRUE means this is an inline function.
+  bool inline_function;
+
   // The values that were passed as arguments.
   octave_value_list args_passed;