Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
planetis-m committed Oct 19, 2024
1 parent d38631e commit 73497d5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions src/raylib.nim
Original file line number Diff line number Diff line change
Expand Up @@ -715,11 +715,11 @@ type
count: uint32 ## Events entries count
events: ptr UncheckedArray[AutomationEvent] ## Events entries

Quaternion* = Vector4 ## Quaternion, 4 components (Vector4 alias)
Texture2D* {.borrow: `.`.} = distinct Texture ## Texture2D, same as Texture
TextureCubemap* {.borrow: `.`.} = distinct Texture ## TextureCubemap, same as Texture
RenderTexture2D* {.borrow: `.`.} = distinct RenderTexture ## RenderTexture2D, same as RenderTexture
Camera* {.borrow: `.`.} = distinct Camera3D ## Camera type fallback, defaults to Camera3D
Quaternion* {.borrow: `.`.} = distinct Vector4 ## Quaternion, 4 components (Vector4 alias)
Texture2D* = Texture ## Texture2D, same as Texture
TextureCubemap* = Texture ## TextureCubemap, same as Texture
RenderTexture2D* = RenderTexture ## RenderTexture2D, same as RenderTexture
Camera* = Camera3D ## Camera type fallback, defaults to Camera3D
FontRecs* = distinct Font
FontGlyphs* = distinct Font
MeshVertices* = distinct Mesh
Expand Down
6 changes: 3 additions & 3 deletions wrapper/processor.nim
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ proc shouldRemoveNamespacePrefix(name: string, config: ConfigData): bool =
proc shouldMarkAsMangled(name: string, config: ConfigData): bool =
name in config.mangledSymbols

proc shouldMarkAsDistinct(name: string, config: ConfigData): bool =
name in config.distinctAliases

proc shouldMarkAsComplete(name: string, config: ConfigData): bool =
name notin config.incompleteStructs

proc shouldMarkAsDistinct(name: string, config: ConfigData): bool =
name notin config.distinctAliases

proc shouldMarkAsPrivate(name: string, config: ConfigData): bool =
isPrivateSymbol(name, config)

Expand Down

0 comments on commit 73497d5

Please sign in to comment.