mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Minor rewording & increase of clarity (#2752)
* Minor rewording & increase of clarity * Corrected a noun that was being used as a verb * Slight rewording of the C99 bindings notices * Actually, this sounds better & looks nicer
This commit is contained in:
@@ -624,13 +624,13 @@ function codegen.doxygen_type(doxygen, func, cname)
|
||||
if cname then
|
||||
result[#result+1] = "///"
|
||||
if type(cname) == "string" then
|
||||
result[#result+1] = string.format("/// @attention C99 equivalent is `%s`.", cname)
|
||||
result[#result+1] = string.format("/// @attention C99's equivalent binding is `%s`.", cname)
|
||||
else
|
||||
local names = {}
|
||||
for _, v in ipairs(cname) do
|
||||
names[#names+1] = "`" .. v .. "`"
|
||||
end
|
||||
result[#result+1] = string.format("/// @attention C99 equivalent are %s.", table.concat(names, ","))
|
||||
result[#result+1] = string.format("/// @attention C99's equivalent bindings are %s.", table.concat(names, ","))
|
||||
end
|
||||
end
|
||||
result[#result+1] = "///"
|
||||
|
||||
Reference in New Issue
Block a user