add sproto double type (#1221)

Co-authored-by: zixun <lvzxiun@gmail.com>
This commit is contained in:
子熏
2020-07-27 17:57:55 +08:00
committed by GitHub
parent f2b1bd7319
commit bfc19ee7b9
4 changed files with 29 additions and 2 deletions

View File

@@ -13,7 +13,8 @@ struct sproto_type;
#define SPROTO_TINTEGER 0
#define SPROTO_TBOOLEAN 1
#define SPROTO_TSTRING 2
#define SPROTO_TSTRUCT 3
#define SPROTO_DOUBLE 3
#define SPROTO_TSTRUCT 4
// sub type of string (sproto_arg.extra)
#define SPROTO_TSTRING_STRING 0