mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-21 10:36:04 +08:00
change the return type of function rt_object_is_systemobject()
using rt_bool_t instead of rt_err_t git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2150 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
+1
-1
@@ -43,7 +43,7 @@ void rt_object_init(struct rt_object *object, enum rt_object_class_type type, co
|
||||
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_bool_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
|
||||
|
||||
Reference in New Issue
Block a user