Browse Source

recover rt_object_find function.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1084 bbd45198-f89e-11dd-88c7-29a3b14d5316
bernard.xiong@gmail.com 14 years ago
parent
commit
d174592eff
1 changed files with 1 additions and 0 deletions
  1. 1 0
      include/rtthread.h

+ 1 - 0
include/rtthread.h

@@ -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);
 void rt_object_delete(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
 void rt_object_attach_sethook(void (*hook)(struct rt_object* object));