Explorar o código

acc: add new types

Add new types to support core fields of type date (for start and end date) and double (for duration).
mikomarrache %!s(int64=10) %!d(string=hai) anos
pai
achega
9801ad5b4e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      modules/acc/acc_api.h

+ 1 - 1
modules/acc/acc_api.h

@@ -110,7 +110,7 @@ typedef struct acc_engine {
 #define ACC_CORE_LEN  6
 
 
-enum {TYPE_NULL = 0, TYPE_INT, TYPE_STR};
+enum {TYPE_NULL = 0, TYPE_INT, TYPE_STR, TYPE_DOUBLE, TYPE_DATE};
 
 
 typedef int (*register_engine_f)(acc_engine_t *eng);