diff options
| author | liang yongxiang <[email protected]> | 2018-07-11 11:45:37 +0800 |
|---|---|---|
| committer | liang yongxiang <[email protected]> | 2018-07-11 14:48:32 +0800 |
| commit | 7b984c2f547849191036a7b15d132ff967bb9d42 (patch) | |
| tree | 3ad7ffb8ad50cada35ef9a06d2d1bd460bc0e9d0 /include/rtthread.h | |
| parent | c5ed45237ea2edeb7f861920c85e846f5e4f2277 (diff) | |
[kernel] add rt_object_get_type() function who return type of object without static flag
Diffstat (limited to 'include/rtthread.h')
| -rw-r--r-- | include/rtthread.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/rtthread.h b/include/rtthread.h index 1e9409b97b..b3d7ebd949 100644 --- a/include/rtthread.h +++ b/include/rtthread.h @@ -62,6 +62,7 @@ rt_object_t rt_object_allocate(enum rt_object_class_type type, const char *name); void rt_object_delete(rt_object_t object); rt_bool_t rt_object_is_systemobject(rt_object_t object); +rt_uint8_t rt_object_get_type(rt_object_t object); rt_object_t rt_object_find(const char *name, rt_uint8_t type); #ifdef RT_USING_HOOK |
