13 #ifndef CONFIG_MODULE_PARSE_NO_FLOAT
18 struct token_num_data {
24 struct token_num_data num_data;
26 typedef struct token_num parse_token_num_t;
28 extern struct token_ops token_num_ops;
30 int8_t parse_num(PGM_P tk, const char * srcbuf, void * res);
31 int8_t get_help_num(PGM_P tk, char * dstbuf, uint8_t size);
33 #define TOKEN_NUM_INITIALIZER(structure, field, numtype) \
36 .ops = &token_num_ops, \
37 .offset = offsetof(structure, field), \
44 #endif /* _PARSE_NUM_H_ */