ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Daodan/src/Daodan_Config.h
(Generate patch)

Comparing Daodan/src/Daodan_Config.h (file contents):
Revision 993 by alloc, Sun Apr 6 17:06:02 2014 UTC vs.
Revision 994 by alloc, Mon Apr 7 10:33:27 2014 UTC

# Line 3 | Line 3
3  
4   #include "stdint.h"
5  
6 + typedef void (*cmd_callback)();
7 +
8   typedef enum {
9 +        C_CMD,
10          C_BOOL,
11          C_INT,
12          C_STRING,
# Line 14 | Line 17 | typedef union {
17          int intBoolVal;
18          uint8_t* extBoolVal;
19          char* stringVal;
20 +        cmd_callback callback;
21   } OptionValue_t;
22  
23   typedef struct {

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)