File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -477,15 +477,15 @@ func metadataCallback(metadata *C.YRX_METADATA, handle C.uintptr_t) {
477
477
var value interface {}
478
478
479
479
switch metadata .value_type {
480
- case C .I64 :
480
+ case C .YRX_I64 :
481
481
value = int64 (C .meta_i64 (unsafe .Pointer (& metadata .value )))
482
- case C .F64 :
482
+ case C .YRX_F64 :
483
483
value = float64 (C .meta_f64 (unsafe .Pointer (& metadata .value )))
484
- case C .BOOLEAN :
484
+ case C .YRX_BOOLEAN :
485
485
value = bool (C .meta_bool (unsafe .Pointer (& metadata .value )))
486
- case C .STRING :
486
+ case C .YRX_STRING :
487
487
value = C .GoString (C .meta_str (unsafe .Pointer (& metadata .value )))
488
- case C .BYTES :
488
+ case C .YRX_BYTES :
489
489
bytes := C .meta_bytes (unsafe .Pointer (& metadata .value ))
490
490
value = C .GoBytes (
491
491
unsafe .Pointer (bytes .data ),
You can’t perform that action at this time.
0 commit comments