mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-19 13:32:59 +01:00
IDL: Added XML comments.
This commit is contained in:
@@ -261,6 +261,15 @@ function converter.types(typ)
|
||||
end
|
||||
|
||||
function converter.funcs(func)
|
||||
|
||||
if func.comments ~= nil then
|
||||
yield("/// <summary>")
|
||||
for _, line in ipairs(func.comments) do
|
||||
yield("/// " .. line)
|
||||
end
|
||||
yield("/// </summary>")
|
||||
end
|
||||
|
||||
yield("[DllImport(DllName, EntryPoint=\"bgfx_" .. func.cname .. "\", CallingConvention = CallingConvention.Cdecl)]")
|
||||
|
||||
if func.ret.cpptype == "bool" then
|
||||
|
||||
Reference in New Issue
Block a user