*/
#define L4_KOBJECT(_class) L4_KOBJECT_DISABLE_COPY(_class)
-/**
- * \internal
- * \brief L4Re dynamic type information for \c void.
- */
-static Type_info const kobject__m = { L4_KOBJECT_META_RTTI(void), 0, 0, 0 };
/**
* \ingroup l4_kernel_object_api
template<typename T>
friend Type_info const *kobject_typeid();
+protected:
/**
* \internal
* \brief Get a pointer to the L4Re dynamic type information
*
* \note This function is used by L4::kobject_typeid().
*/
- static Type_info const *__kobject_typeid()
- { return &kobject__m; }
+ struct __Kobject_typeid { static Type_info const _m; };
-protected:
/**
* \brief Return capability selector.
* \return Capability selector.
Cap_base::validate(l4_utcb_t *u) const throw()
{ return l4_task_cap_valid_u(L4_BASE_TASK_CAP, _c, u); }
-
}; // namespace L4
#include <l4/sys/meta>