diff options
| author | chenjh <[email protected]> | 2021-02-26 18:23:52 +0800 |
|---|---|---|
| committer | chenjh <[email protected]> | 2021-02-26 18:23:52 +0800 |
| commit | 055c3d3e1d75fedac44ffb41943350d9844f5b7e (patch) | |
| tree | ab7ee8660930048e93cc2dcc944db40c59f08b5d /include/rtthread.h | |
| parent | 5f17cf9204e501d971cd28486e0a7193d2f1fae4 (diff) | |
[Update] Sync from v4.0.3
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 32fe011ab2..419f02695b 100644 --- a/include/rtthread.h +++ b/include/rtthread.h @@ -40,6 +40,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); @@ -514,7 +517,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); |
