@@ -61,22 +61,22 @@ func getBoolResSSPluingExtractField(t *testing.T, ptr *_Ctype_ss_plugin_extract_
6161 if ptr .res_len < (_Ctype_uint64_t )(index ) {
6262 t .Errorf ("trying to access extract field res at index %d, but res len is %d" , index , (int )(ptr .res_len ))
6363 }
64- value := (uint8 )(* ((* _Ctype_uint32_t )(unsafe .Pointer (uintptr (* (* _Ctype_uintptr_t )(unsafe .Pointer (& ptr .res ))) + uintptr (index * _Ciconst_sizeof_field_result_t )))))
65- return value != uint8 (0 )
64+ value := (uint32 )(* ((* _Ctype_uint32_t )(unsafe .Pointer (uintptr (* (* _Ctype_uintptr_t )(unsafe .Pointer (& ptr .res ))) + uintptr (index * _Ciconst_sizeof_uint32_t )))))
65+ return value != uint32 (0 )
6666}
6767
6868func getStrResSSPluingExtractField (t * testing.T , p * _Ctype_ss_plugin_extract_field , index int ) string {
6969 if p .res_len < (_Ctype_uint64_t )(index ) {
7070 t .Errorf ("trying to access extract field res at index %d, but res len is %d" , index , (int )(p .res_len ))
7171 }
72- return ptr .GoString (unsafe .Pointer ((* ((* * _Ctype_char )(unsafe .Pointer (uintptr (* (* _Ctype_uintptr_t )(unsafe .Pointer (& p .res ))) + uintptr (index * _Ciconst_sizeof_field_result_t )))))))
72+ return ptr .GoString (unsafe .Pointer ((* ((* * _Ctype_char )(unsafe .Pointer (uintptr (* (* _Ctype_uintptr_t )(unsafe .Pointer (& p .res ))) + uintptr (index * _Ciconst_sizeof_uintptr_t )))))))
7373}
7474
7575func getU64ResSSPluingExtractField (t * testing.T , ptr * _Ctype_ss_plugin_extract_field , index int ) uint64 {
7676 if ptr .res_len < (_Ctype_uint64_t )(index ) {
7777 t .Errorf ("trying to access extract field res at index %d, but res len is %d" , index , (int )(ptr .res_len ))
7878 }
79- return (uint64 )(* ((* _Ctype_uint64_t )(unsafe .Pointer (uintptr (* (* _Ctype_uintptr_t )(unsafe .Pointer (& ptr .res ))) + uintptr (index * _Ciconst_sizeof_field_result_t )))))
79+ return (uint64 )(* ((* _Ctype_uint64_t )(unsafe .Pointer (uintptr (* (* _Ctype_uintptr_t )(unsafe .Pointer (& ptr .res ))) + uintptr (index * _Ciconst_sizeof_uint64_t )))))
8080}
8181
8282func getBinResSSPluingExtractField (t * testing.T , p * _Ctype_ss_plugin_extract_field , index int ) []byte {
0 commit comments