From 630890f5de97fa354fbd549b0c5695d934a19a4d Mon Sep 17 00:00:00 2001 From: ichordev <15670465+ichordev@users.noreply.github.com> Date: Sun, 6 Mar 2022 10:32:38 +1000 Subject: [PATCH] Fixed uint8_t being bound to byte instead of ubyte (#2735) --- scripts/bindings-d.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/bindings-d.lua b/scripts/bindings-d.lua index 9858e4974..fd7941e50 100644 --- a/scripts/bindings-d.lua +++ b/scripts/bindings-d.lua @@ -90,7 +90,7 @@ local function convert_type(arg) elseif hasPrefix(ctype, "uint16_t") then ctype = ctype:gsub("uint16_t", "ushort") elseif hasPrefix(ctype, "uint8_t") then - ctype = ctype:gsub("uint8_t", "byte") + ctype = ctype:gsub("uint8_t", "ubyte") elseif hasPrefix(ctype, "uintptr_t") then ctype = ctype:gsub("uintptr_t", "ulong") elseif hasPrefix(ctype, "const ") and hasSuffix(ctype, "*") then