comparison libinterp/octave-value/ov-base.h @ 31111:d98abdd15d40

* ov-base.h (__get_type_info__): Provide backward compatibility function.
author John W. Eaton <jwe@octave.org>
date Thu, 23 Jun 2022 15:23:57 -0400
parents 670a0d878af1
children b3ca7f891750
comparison
equal deleted inserted replaced
31110:670a0d878af1 31111:d98abdd15d40
54 // symbols that require even more header files. Since the typeinfo 54 // symbols that require even more header files. Since the typeinfo
55 // object is required to load a user-defined octave_value object, 55 // object is required to load a user-defined octave_value object,
56 // maybe this function should be declared in a public header file? 56 // maybe this function should be declared in a public header file?
57 57
58 extern OCTINTERP_API type_info& __get_type_info__ (void); 58 extern OCTINTERP_API type_info& __get_type_info__ (void);
59
60 // For now just preserve the old interface and don't mark it as deprecated. This function
61 // is currently an internal, private function. Additional changes may be made before
62 // version 8 is finally released.
63 inline type_info& __get_type_info__ (const std::string&) { return __get_type_info__ (); }
59 } 64 }
60 65
61 class Cell; 66 class Cell;
62 class float_display_format; 67 class float_display_format;
63 class mxArray; 68 class mxArray;