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:
ichordev
2022-04-01 11:07:21 +10:00
committed by GitHub
parent d9cdc67993
commit 81c6610293
2 changed files with 22 additions and 21 deletions

View File

@@ -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] = "///"