diff options
| author | qiuyiuestc <[email protected]> | 2010-11-17 16:17:07 +0000 |
|---|---|---|
| committer | qiuyiuestc <[email protected]> | 2010-11-17 16:17:07 +0000 |
| commit | d240423d7422b51e10942fab00a2a34ed4c32e6f (patch) | |
| tree | d6fae680f474d7494e5d522970aeb36a740502bf /src/object.c | |
| parent | b2fb4be8111ae46ca64e4b135cfd47895900a0e1 (diff) | |
construct module symbol table
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1053 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'src/object.c')
| -rw-r--r-- | src/object.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/object.c b/src/object.c index c992f0fe04..4544d82ca4 100644 --- a/src/object.c +++ b/src/object.c @@ -283,9 +283,9 @@ rt_object_t rt_object_allocate(enum rt_object_class_type type, const char* name) #ifdef RT_USING_MODULE if(rt_module_self() != RT_NULL) { - object->module_id = (void*)rt_module_self(); object->flag |= RT_OBJECT_FLAG_MODULE; - } + } + object->module_id = (void*)rt_module_self(); #endif /* copy name */ |
