[Kernel] Add rt_object_get_length/rt_object_get_pointers APIs.

This commit is contained in:
Bernard Xiong
2020-04-10 00:01:58 +08:00
parent 0f57faa591
commit b1eb3943a3
2 changed files with 79 additions and 11 deletions
+3
View File
@@ -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);