File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,6 @@ module github.com/objectbox/objectbox-go
3
3
go 1.11
4
4
5
5
require (
6
- github.com/google/flatbuffers v1.12.0
6
+ github.com/google/flatbuffers v1.12.1
7
7
github.com/objectbox/objectbox-generator v0.13.0
8
8
)
Original file line number Diff line number Diff line change 1
- github.com/google/flatbuffers v1.12.0 h1:/PtAHvnBY4Kqnx/xCQ3OIV9uYcSFGScBsWI3Oogeh6w =
2
1
github.com/google/flatbuffers v1.12.0 /go.mod h1:1AeVuKshWv4vARoZatz6mlQ0JxURH0Kv5+zNeJKJCa8 =
2
+ github.com/google/flatbuffers v1.12.1 h1:MVlul7pQNoDzWRLTw5imwYsl+usrS1TXG2H4jg6ImGw =
3
+ github.com/google/flatbuffers v1.12.1 /go.mod h1:1AeVuKshWv4vARoZatz6mlQ0JxURH0Kv5+zNeJKJCa8 =
3
4
github.com/objectbox/objectbox-generator v0.13.0 h1:WyI97psLk3FLw/qGsVIMl49HCSyuFwVekBdIbQDrxXE =
4
5
github.com/objectbox/objectbox-generator v0.13.0 /go.mod h1:kanX8YAsG9Fi9tufV0iLMAKfV+d4WLAvSj5rtL01WhQ =
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ import (
32
32
//export dataVisitorDispatch
33
33
// This function finds the data visitor (based on the pointer to the visitorId) and calls it with the given data
34
34
// NOTE: don't change ptr contents, it's `const void*` in C but go doesn't support const pointers
35
- func dataVisitorDispatch (visitorIdPtr unsafe. Pointer , data unsafe.Pointer , size C.size_t ) C.bool {
35
+ func dataVisitorDispatch (data unsafe.Pointer , size C.size_t , visitorIdPtr unsafe. Pointer ) C.bool {
36
36
var visitorId = * (* uint32 )(visitorIdPtr )
37
37
38
38
// create an empty byte slice and map the C data to it, no copy required
You can’t perform that action at this time.
0 commit comments