diff --git a/src/raylib.nim b/src/raylib.nim index 187518a..bf78afc 100644 --- a/src/raylib.nim +++ b/src/raylib.nim @@ -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 diff --git a/wrapper/processor.nim b/wrapper/processor.nim index 0cd9476..7574bf0 100644 --- a/wrapper/processor.nim +++ b/wrapper/processor.nim @@ -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)