[format] enumeration define two styles: define first or all.
This commit is contained in:
parent
e6b72153b4
commit
224c3224c7
|
@ -372,20 +372,20 @@ typedef struct rt_object *rt_object_t; /**< Type for kernel obj
|
|||
*/
|
||||
enum rt_object_class_type
|
||||
{
|
||||
RT_Object_Class_Null = 0, /**< The object is not used. */
|
||||
RT_Object_Class_Thread, /**< The object is a thread. */
|
||||
RT_Object_Class_Semaphore, /**< The object is a semaphore. */
|
||||
RT_Object_Class_Mutex, /**< The object is a mutex. */
|
||||
RT_Object_Class_Event, /**< The object is a event. */
|
||||
RT_Object_Class_MailBox, /**< The object is a mail box. */
|
||||
RT_Object_Class_MessageQueue, /**< The object is a message queue. */
|
||||
RT_Object_Class_MemHeap, /**< The object is a memory heap */
|
||||
RT_Object_Class_MemPool, /**< The object is a memory pool. */
|
||||
RT_Object_Class_Device, /**< The object is a device */
|
||||
RT_Object_Class_Timer, /**< The object is a timer. */
|
||||
RT_Object_Class_Module, /**< The object is a module. */
|
||||
RT_Object_Class_Unknown, /**< The object is unknown. */
|
||||
RT_Object_Class_Static = 0x80 /**< The object is a static object. */
|
||||
RT_Object_Class_Null = 0x00, /**< The object is not used. */
|
||||
RT_Object_Class_Thread = 0x01, /**< The object is a thread. */
|
||||
RT_Object_Class_Semaphore = 0x02, /**< The object is a semaphore. */
|
||||
RT_Object_Class_Mutex = 0x03, /**< The object is a mutex. */
|
||||
RT_Object_Class_Event = 0x04, /**< The object is a event. */
|
||||
RT_Object_Class_MailBox = 0x05, /**< The object is a mail box. */
|
||||
RT_Object_Class_MessageQueue = 0x06, /**< The object is a message queue. */
|
||||
RT_Object_Class_MemHeap = 0x07, /**< The object is a memory heap. */
|
||||
RT_Object_Class_MemPool = 0x08, /**< The object is a memory pool. */
|
||||
RT_Object_Class_Device = 0x09, /**< The object is a device. */
|
||||
RT_Object_Class_Timer = 0x0a, /**< The object is a timer. */
|
||||
RT_Object_Class_Module = 0x0b, /**< The object is a module. */
|
||||
RT_Object_Class_Unknown = 0x0c, /**< The object is unknown. */
|
||||
RT_Object_Class_Static = 0x80 /**< The object is a static object. */
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue