config: update test config files to current aversive config.in
[aversive.git] / modules / ihm / parse / parse_num.h
index de10e7d..576e95a 100644 (file)
@@ -7,9 +7,11 @@ enum numtype {
        UINT8 = 0,
        UINT16,
        UINT32,
+       UINT64,
        INT8,
        INT16,
        INT32,
+       INT64,
 #ifndef CONFIG_MODULE_PARSE_NO_FLOAT
        FLOAT,
 #endif
@@ -24,18 +26,11 @@ struct token_num {
        struct token_num_data num_data;
 };
 typedef struct token_num parse_token_num_t;
-struct token_num_pgm {
-       struct token_hdr hdr;
-       struct token_num_data num_data;
-} PROGMEM;
-typedef struct token_num_pgm parse_pgm_token_num_t;
 
 extern struct token_ops token_num_ops;
 
-int8_t parse_num(parse_pgm_token_hdr_t * tk, 
-                const char * srcbuf, void * res);
-int8_t get_help_num(parse_pgm_token_hdr_t * tk, 
-                   char * dstbuf, uint8_t size);
+int8_t parse_num(PGM_P tk, const char * srcbuf, void * res);
+int8_t get_help_num(PGM_P tk, char * dstbuf, uint8_t size);
 
 #define TOKEN_NUM_INITIALIZER(structure, field, numtype)   \
 {                                                         \