#include <stdio.h>
struct epleFunction
{
int print()
{
printf("Hello World!\n");
return 0;
}
};
epleFunction eple;
void someFunc()
{
eple.print();
}
int main()
{
someFunc();
eple.print();
return 0;
}
/*
--Lua
local eple = {}
function eple.print()
print("Hello World!")
return 0
end
function someFunc()
eple.print()
end
function main()
someFunc()
eple.print()
return 0
end
main()
*/