mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-26 06:43:58 +08:00
module update for extension
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1086 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
+5
-1
@@ -375,6 +375,10 @@ struct rt_thread
|
||||
/*
|
||||
* module system
|
||||
*/
|
||||
|
||||
#define RT_MODULE_FLAG_WITHENTRY 0x00 /* with entry point */
|
||||
#define RT_MODULE_FLAG_WITHOUTENTRY 0x01 /* no entry point */
|
||||
|
||||
struct rt_module
|
||||
{
|
||||
/* inherit from object */
|
||||
@@ -400,7 +404,7 @@ struct rt_module
|
||||
rt_uint32_t nref;
|
||||
|
||||
/* object in this module, module object is the last basic object type */
|
||||
struct rt_object_information module_object[RT_Object_Class_Module];
|
||||
struct rt_object_information module_object[RT_Object_Class_Unknown];
|
||||
};
|
||||
typedef struct rt_module* rt_module_t;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user