File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
graalpython/com.oracle.graal.python.cext/hpy Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ void* graal_hpy_from_i8_array(void *arr, uint64_t len) {
99
99
return polyglot_from_i8_array (arr , len );
100
100
}
101
101
102
- wchar_t * graal_hpy_from_wchar_array (wchar_t * arr , uint64_t len ) {
102
+ void * graal_hpy_from_wchar_array (wchar_t * arr , uint64_t len ) {
103
103
if (len == -1 ) {
104
104
len = (uint64_t ) wcslen (arr );
105
105
}
@@ -114,11 +114,11 @@ void* graal_hpy_from_HPyModuleDef(void *ptr) {
114
114
return polyglot_from_HPyModuleDef (ptr );
115
115
}
116
116
117
- HPyType_Spec * graal_hpy_from_HPyType_Spec (HPyType_Spec * ptr ) {
117
+ void * graal_hpy_from_HPyType_Spec (HPyType_Spec * ptr ) {
118
118
return polyglot_from_HPyType_Spec (ptr );
119
119
}
120
120
121
- HPyType_SpecParam * graal_hpy_from_HPyType_SpecParam_array (HPyType_SpecParam * ptr ) {
121
+ void * graal_hpy_from_HPyType_SpecParam_array (HPyType_SpecParam * ptr ) {
122
122
if (ptr != NULL ) {
123
123
uint64_t len = 0 ;
124
124
while (ptr [len ].kind ) {
@@ -324,7 +324,7 @@ typedef union {
324
324
POLYGLOT_DECLARE_TYPE (OutVar );
325
325
typedef struct { OutVar * content ; } OutVarPtr ;
326
326
POLYGLOT_DECLARE_TYPE (OutVarPtr );
327
- OutVarPtr * graal_hpy_allocate_outvar () {
327
+ void * graal_hpy_allocate_outvar () {
328
328
return polyglot_from_OutVarPtr (truffle_managed_malloc (sizeof (OutVarPtr )));
329
329
}
330
330
You can’t perform that action at this time.
0 commit comments