Index: tools/srpcgen.py |
diff --git a/tools/srpcgen.py b/tools/srpcgen.py |
index 463df11ff97cdcf6a7fba922283ac8ca5785fecf..ffe078ab301adc0b088aa616c3b8afe55b5d168e 100755 |
--- a/tools/srpcgen.py |
+++ b/tools/srpcgen.py |
@@ -70,9 +70,9 @@ types = {'bool': ['b', 'bool', 'u.bval', ''], |
'int32_t[]': ['I', 'int32_t*', 'arrays.iarr', 'u.count'], |
'int64_t': ['l', 'int64_t', 'u.lval', ''], |
'int64_t[]': ['L', 'int64_t', 'arrays.larr', 'u.count'], |
- 'PP_Instance': ['l', 'PP_Instance', 'u.lval', ''], |
- 'PP_Module': ['l', 'PP_Module', 'u.lval', ''], |
- 'PP_Resource': ['l', 'PP_Resource', 'u.lval', ''], |
+ 'PP_Instance': ['l', 'PP_Instance', 'u.ival', ''], |
+ 'PP_Module': ['l', 'PP_Module', 'u.ival', ''], |
+ 'PP_Resource': ['l', 'PP_Resource', 'u.ival', ''], |
'string': ['s', 'char*', 'arrays.str', ''], |
} |