Mercurial > hg > octave-lyh
changeset 15481:85e3ebc11da4
* variables.cc (bind_internal_variable): Tag with GCC_ATTR_DEPRECATED.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 03 Oct 2012 03:16:48 -0400 |
parents | c7d7d43f26bb |
children | cb49817af457 |
files | libinterp/interpfcn/variables.h |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/interpfcn/variables.h +++ b/libinterp/interpfcn/variables.h @@ -136,7 +136,8 @@ extern OCTINTERP_API void bind_ans (const octave_value& val, bool print); extern OCTINTERP_API void -bind_internal_variable (const std::string& fname, const octave_value& val); +bind_internal_variable (const std::string& fname, + const octave_value& val) GCC_ATTR_DEPRECATED; extern OCTINTERP_API void mlock (void); extern OCTINTERP_API void munlock (const std::string&);