Explorar o código

core: kemi - function for branch flags with index have two int params

(cherry picked from commit e4b7cd2a3e362917ff28f2f532d8d39ef9e53a4f)
Daniel-Constantin Mierla %!s(int64=7) %!d(string=hai) anos
pai
achega
920aa01cf5
Modificáronse 1 ficheiros con 4 adicións e 4 borrados
  1. 4 4
      src/core/kemi.c

+ 4 - 4
src/core/kemi.c

@@ -561,17 +561,17 @@ static sr_kemi_t _sr_kemi_core[] = {
 	},
 	{ str_init(""), str_init("setbiflag"),
 		SR_KEMIP_BOOL, sr_kemi_core_setbiflag,
-		{ SR_KEMIP_INT, SR_KEMIP_NONE, SR_KEMIP_NONE,
+		{ SR_KEMIP_INT, SR_KEMIP_INT, SR_KEMIP_NONE,
 			SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
 	},
 	{ str_init(""), str_init("resetbiflag"),
 		SR_KEMIP_BOOL, sr_kemi_core_resetbiflag,
-		{ SR_KEMIP_INT, SR_KEMIP_NONE, SR_KEMIP_NONE,
+		{ SR_KEMIP_INT, SR_KEMIP_INT, SR_KEMIP_NONE,
 			SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
 	},
 	{ str_init(""), str_init("isbiflagset"),
 		SR_KEMIP_BOOL, sr_kemi_core_isbiflagset,
-		{ SR_KEMIP_INT, SR_KEMIP_NONE, SR_KEMIP_NONE,
+		{ SR_KEMIP_INT, SR_KEMIP_INT, SR_KEMIP_NONE,
 			SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
 	},
 	{ str_init(""), str_init("setsflag"),
@@ -1309,4 +1309,4 @@ done:
 	sret.s = pbuf;
 	sret.len = strlen(sret.s);
 	return &sret;
-}
+}