diff options
| author | longtengmcu <[email protected]> | 2020-05-17 09:36:34 +0800 |
|---|---|---|
| committer | longtengmcu <[email protected]> | 2020-05-17 09:36:34 +0800 |
| commit | 21a3ba358aabad6c96bf803c752d86a870a2e019 (patch) | |
| tree | 28fd9c74b695ba5c87bfa2b435250abc412f1e78 /include/rtthread.h | |
| parent | 33e1ef436a603d91b849a5dfe0b3ea2de95a71df (diff) | |
| parent | ee2cec13b13e0587f69fa73c2119aae27d4b8360 (diff) | |
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
~update rtt master
Diffstat (limited to 'include/rtthread.h')
| -rw-r--r-- | include/rtthread.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/rtthread.h b/include/rtthread.h index 92cdf012b2..a76601a3bf 100644 --- a/include/rtthread.h +++ b/include/rtthread.h @@ -41,6 +41,9 @@ extern "C" { void rt_system_object_init(void); struct rt_object_information * rt_object_get_information(enum rt_object_class_type type); +int rt_object_get_length(enum rt_object_class_type type); +int rt_object_get_pointers(enum rt_object_class_type type, rt_object_t *pointers, int maxlen); + void rt_object_init(struct rt_object *object, enum rt_object_class_type type, const char *name); @@ -554,7 +557,7 @@ rt_int32_t rt_sscanf(const char *buf, const char *fmt, ...); char *rt_strncpy(char *dest, const char *src, rt_ubase_t n); void *rt_memmove(void *dest, const void *src, rt_ubase_t n); rt_int32_t rt_memcmp(const void *cs, const void *ct, rt_ubase_t count); -rt_uint32_t rt_strcasecmp(const char *a, const char *b); +rt_int32_t rt_strcasecmp(const char *a, const char *b); void rt_show_version(void); |
