#ifndef __rf_types_ih__ #define __rf_types_ih__ #include "rf_types.hh" namespace rfrt { inline TypeRegister::TypeRegister ( short_type_funcs_t* _funcs, unsigned _typenum /* = 0 */ ) { if (_typenum == 0) { _typenum = current_short_type++; } short_type_funcs[_typenum] = _funcs; } inline ObjectRegister::ObjectRegister (unsigned _typenum /* = 0 */) { if (_typenum == 0) { _typenum = current_object_type++; } type = _typenum; } inline unsigned ObjectRegister::get_type () const { return type; } } #endif // __rf_types_ih__