Mercurial > hg > octave-nkf
changeset 15422:57e685d135ec
include oct-obj.h in generated builtin-defun-decls.h file
* mkbuiltins: Emit #include "oct-obj.h" statement instead of using a
forward declaration of octave_value_list.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 19 Sep 2012 15:28:10 -0400 |
parents | cd6ce11b9c57 |
children | 53d073233fa4 |
files | libinterp/mkbuiltins |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/mkbuiltins +++ b/libinterp/mkbuiltins @@ -50,12 +50,12 @@ #if !defined (octave_builtin_defun_decls_h) #define octave_builtin_defun_decls_h 1 +#include "oct-obj.h" + #define DEFUN_DECL(name) \ extern OCTINTERP_API octave_value_list \ name (const octave_value_list& = octave_value_list (), int = 0); -class octave_value_list; - EOF $SED -n -e 's/ *\(XDEFUN\|XDEFCONSTFUN\)_INTERNAL *( *\([_A-Za-z][_A-Za-z0-9]*\) *,.*$/DEFUN_DECL (F\2);/p; s/^ *XDEFUNX_INTERNAL *( *"\([_A-Za-z][_A-Za-z0-9]*\)" *,.*$/DEFUN_DECL (F\1);/p' "$@"