IDL: Added XML comments.
This commit is contained in:
parent
6c022fcc58
commit
d01601f6e4
File diff suppressed because it is too large
Load Diff
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user