summaryrefslogtreecommitdiff
path: root/include/rtthread.h
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2020-04-14 10:52:21 +0800
committerGitHub <[email protected]>2020-04-14 10:52:21 +0800
commit05cd6eaad735880f7fa05c46bd841bc6a7ba2120 (patch)
tree5e0960f23c26bd3f3c289bce57dc689559809a8c /include/rtthread.h
parentaaecf9414b97790dc17068ed366d6c3ab612dd49 (diff)
parent310517b818ac4f0eb0655cf20bf4ba4543a911aa (diff)
Merge pull request #3511 from BernardXiong/kernel_object
Kernel object
Diffstat (limited to 'include/rtthread.h')
-rw-r--r--include/rtthread.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/rtthread.h b/include/rtthread.h
index 70d4f38896..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);