26 #if ! defined (octave_oct_errno_h)
27 #define octave_oct_errno_h 1
29 #include "octave-config.h"
48 static bool instance_ok (
void);
51 {
delete s_instance; s_instance =
nullptr; }
53 static int lookup (
const std::string& name);
57 static int get (
void) {
return errno; }
59 static int set (
int val)
68 int do_lookup (
const std::string& name);
octave_idx_type lookup(const T *x, octave_idx_type n, T y)
std::map< std::string, int > m_errno_tbl
~octave_errno(void)=default
static void cleanup_instance(void)
static octave_errno * s_instance