mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-06-08 03:13:52 +00:00
IDL: Added XML comments.
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user