Explorar o código

Add value support for unsigned/signed char

Ole %!s(int64=10) %!d(string=hai) anos
pai
achega
8a4c63f324
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      lib/luwra/types.hpp

+ 2 - 0
lib/luwra/types.hpp

@@ -203,6 +203,8 @@ LUWRA_DEF_NUMERIC(Number, double)
 LUWRA_DEF_NUMERIC(Number, long double)
 
 // Integral types
+LUWRA_DEF_NUMERIC(Integer, signed   char)
+LUWRA_DEF_NUMERIC(Integer, unsigned char)
 LUWRA_DEF_NUMERIC(Integer, signed   short)
 LUWRA_DEF_NUMERIC(Integer, unsigned short)
 LUWRA_DEF_NUMERIC(Integer, signed   int)