From d174592eff271d3225725c135bf6a59f8f535363 Mon Sep 17 00:00:00 2001 From: "bernard.xiong@gmail.com" Date: Sun, 21 Nov 2010 23:57:13 +0000 Subject: [PATCH] recover rt_object_find function. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1084 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- include/rtthread.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/rtthread.h b/include/rtthread.h index f0c9087e90..ce72bb82d8 100644 --- a/include/rtthread.h +++ b/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));