recover rt_object_find function.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1084 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
72630eae88
commit
d174592eff
|
@ -40,6 +40,7 @@ void rt_object_detach(rt_object_t object);
|
||||||
rt_object_t rt_object_allocate(enum rt_object_class_type type, const char* name);
|
rt_object_t rt_object_allocate(enum rt_object_class_type type, const char* name);
|
||||||
void rt_object_delete(rt_object_t object);
|
void rt_object_delete(rt_object_t object);
|
||||||
rt_err_t rt_object_is_systemobject(rt_object_t object);
|
rt_err_t rt_object_is_systemobject(rt_object_t object);
|
||||||
|
rt_object_t rt_object_find(const char* name, rt_uint8_t type);
|
||||||
|
|
||||||
#ifdef RT_USING_HOOK
|
#ifdef RT_USING_HOOK
|
||||||
void rt_object_attach_sethook(void (*hook)(struct rt_object* object));
|
void rt_object_attach_sethook(void (*hook)(struct rt_object* object));
|
||||||
|
|
Loading…
Reference in New Issue