Posted: Sat Aug 01, 2026 4:56 pm Post subject: How to get return type of mono method?
Hi there,
I am looking for a way to reliably enumerable mono methods' return type.
This always yields NULL and I can't seems to figure out why.
Thanks!
Code:
local methods=mono_class_enumMethods(class)
if type(methods)~='table' or #methods<1 then return nil end
for i=1,#methods do
local s = methods[i].returntype
if s then print(">> <"..s..'>') else print("returntype is NULL!") end
end
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum