Skip to content

Commit

Permalink
added signals and async handling
Browse files Browse the repository at this point in the history
cleaned up godotmacros imports
updated code sample at bottom of godotmacros.nim
  • Loading branch information
geekrelief committed Dec 28, 2020
1 parent 388bea9 commit a723bae
Show file tree
Hide file tree
Showing 2 changed files with 292 additions and 10 deletions.
10 changes: 5 additions & 5 deletions godot/internal/godotinternaltypes.nim
Original file line number Diff line number Diff line change
Expand Up @@ -92,14 +92,14 @@ type
RID,
Object,
Dictionary,
Array, ## 20
Array,
# arrays
PoolByteArray,
PoolByteArray, ## 20
PoolIntArray,
PoolRealArray,
PoolStringArray,
PoolVector2Array, ## 25
PoolVector3Array,
PoolVector2Array,
PoolVector3Array, ## 25
PoolColorArray

VariantCallErrorType* {.size: sizeof(cint), pure.} = enum
Expand Down Expand Up @@ -291,7 +291,7 @@ type
methodData*: pointer
freeFunc*: proc (a2: pointer) {.noconv.}

GodotSignalArgument* {.bycopy.} = object
GodotSignalArgument* {.bycopy, packed.} = object
name*: GodotString
typ*: cint
hint*: GodotPropertyHint
Expand Down
Loading

0 comments on commit a723bae

Please sign in to comment.