diff options
| author | qiuyiuestc <[email protected]> | 2010-11-22 01:24:37 +0000 |
|---|---|---|
| committer | qiuyiuestc <[email protected]> | 2010-11-22 01:24:37 +0000 |
| commit | c7f8c325af960c47161d3b966017649cfed04aca (patch) | |
| tree | 2c3db1a5254c3e1408b5aee565f5bb6069ec5331 /include | |
| parent | f84c16c60d257372cabbb9265bc10383cd87cf71 (diff) | |
module update for extension
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1086 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'include')
| -rw-r--r-- | include/rtdef.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/rtdef.h b/include/rtdef.h index 4295f2c048..d50c94a76c 100644 --- a/include/rtdef.h +++ b/include/rtdef.h @@ -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 |
