changeset 20807:fee9c6315762

avoid build dependency issue * ov-struct.cc: Provide explicit decl for Fcellstr instead of including builtin-defun-decl.h.
author John W. Eaton <jwe@octave.org>
date Fri, 04 Dec 2015 16:48:04 -0500
parents 20975a6f677a
children 36cba8baf36e
files libinterp/octave-value/ov-struct.cc
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/octave-value/ov-struct.cc	Fri Dec 04 15:51:30 2015 -0500
+++ b/libinterp/octave-value/ov-struct.cc	Fri Dec 04 16:48:04 2015 -0500
@@ -27,7 +27,6 @@
 #include <iostream>
 
 #include "Cell.h"
-#include "builtin-defun-decls.h"
 #include "defun.h"
 #include "error.h"
 #include "gripes.h"
@@ -2105,6 +2104,10 @@
 %!assert (cell2struct ({}, {"f"}, 3), struct ("f", {}));
 */
 
+// FIXME: we should be including builtin-defun-decls.h but doing that
+// currently exposes a problem with dependencies in the the build system.
+extern OCTINTERP_API octave_value_list
+Fcellstr (const octave_value_list& = octave_value_list (), int = 0);
 
 DEFUN (rmfield, args, ,
        "-*- texinfo -*-\n\