@@ -125,15 +125,15 @@ func kuzzle_collection_search_specifications(c *C.collection, options *C.query_o
125125}
126126
127127//export kuzzle_collection_update_specifications
128- func kuzzle_collection_update_specifications (c * C.collection , index * C.char , col * C.char , body * C.char , options * C.query_options ) * C.string_result {
129- res , err := (* collection .Collection )(c .instance ).UpdateSpecifications (C .GoString (index ), C .GoString (col ), json .RawMessage (C .GoString (body )), SetQueryOptions (options ))
128+ func kuzzle_collection_update_specifications (c * C.collection , index * C.char , col * C.char , specifications * C.char , options * C.query_options ) * C.string_result {
129+ res , err := (* collection .Collection )(c .instance ).UpdateSpecifications (C .GoString (index ), C .GoString (col ), json .RawMessage (C .GoString (specifications )), SetQueryOptions (options ))
130130 var stringResult string
131131 stringResult = string (res )
132132 return goToCStringResult (& stringResult , err )
133133}
134134
135135//export kuzzle_collection_validate_specifications
136- func kuzzle_collection_validate_specifications (c * C.collection , body * C.char , options * C.query_options ) * C.validation_response {
137- res , err := (* collection .Collection )(c .instance ).ValidateSpecifications (json .RawMessage (C .GoString (body )), SetQueryOptions (options ))
136+ func kuzzle_collection_validate_specifications (c * C.collection , index * C. char , col * C. char , specifications * C.char , options * C.query_options ) * C.validation_response {
137+ res , err := (* collection .Collection )(c .instance ).ValidateSpecifications (C . GoString ( index ), C . GoString ( col ), json .RawMessage (C .GoString (specifications )), SetQueryOptions (options ))
138138 return goToCValidationResponse (res , err )
139139}
0 commit comments