15 #ifndef CONFIG_MODULE_PARSE_NO_FLOAT
20 struct token_num_data {
26 struct token_num_data num_data;
28 typedef struct token_num parse_token_num_t;
30 extern struct token_ops token_num_ops;
32 int8_t parse_num(PGM_P tk, const char * srcbuf, void * res);
33 int8_t get_help_num(PGM_P tk, char * dstbuf, uint8_t size);
35 #define TOKEN_NUM_INITIALIZER(structure, field, numtype) \
38 .ops = &token_num_ops, \
39 .offset = offsetof(structure, field), \
46 #endif /* _PARSE_NUM_H_ */