Skip to content

Commit 0372444

Browse files
authored
Merge pull request #579 from treeform/pixie-binding-abi-fixes
Fix Pixie binding ABI value types
2 parents 8eacfed + 9e095eb commit 0372444

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

bindings/bindings.nim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ proc checkError(): bool =
1010
result = lastError != nil
1111

1212
type
13-
Vector2* = object
13+
Vector2* {.bycopy.} = object
1414
x*, y*: float32
1515

16-
Matrix3* = object
16+
Matrix3* {.bycopy.} = object
1717
values*: array[9, float32]
1818

1919
proc matrix3(): Matrix3 =

0 commit comments

Comments
 (0)