IDL: Added XML comments.

This commit is contained in:
Бранимир Караџић 2019-07-05 15:59:19 -07:00
parent 6c022fcc58
commit d01601f6e4
2 changed files with 796 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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