local_abstract_generic_functions.h File Reference

#include "ClassCfg.h"

Go to the source code of this file.

Defines

#define def_local_generic(fn, name)   virtual Value* fn##_vf(Value** arglist, int arg_count) { ABSTRACT_FUNCTION(_M(#name), this, Value*); }
#define def_local_generic_debug_ok(fn, name)   virtual Value* fn##_vf(Value** arglist, int arg_count) { ABSTRACT_FUNCTION(_M(#name), this, Value*); }
#define use_generic(fn, name)
#define use_local_generic(fn, name)
#define ABSTRACT_FUNCTION(m, v, t)   throw NoMethodError (m, v); return (t)0
#define ABSTRACT_CONVERTER(t, l)   throw ConversionError (this, _M(#l)); return (t)0
#define ABSTRACT_WIDENER(a)   throw IncompatibleTypes (this, a); return (Value*)&undefined

Define Documentation

#define def_local_generic (   fn,
  name 
)    virtual Value* fn##_vf(Value** arglist, int arg_count) { ABSTRACT_FUNCTION(_M(#name), this, Value*); }
#define def_local_generic_debug_ok (   fn,
  name 
)    virtual Value* fn##_vf(Value** arglist, int arg_count) { ABSTRACT_FUNCTION(_M(#name), this, Value*); }
#define use_generic (   fn,
  name 
)
#define use_local_generic (   fn,
  name 
)
#define ABSTRACT_FUNCTION (   m,
  v,
 
)    throw NoMethodError (m, v); return (t)0
#define ABSTRACT_CONVERTER (   t,
 
)    throw ConversionError (this, _M(#l)); return (t)0
#define ABSTRACT_WIDENER (   a)    throw IncompatibleTypes (this, a); return (Value*)&undefined