Files
linguist/samples/Terra/nonprototypec.t
2016-01-28 11:22:27 +07:00

12 lines
117 B
Perl

C = terralib.includecstring [[
int foobar() {
return 3;
}
]]
terra doit()
return C.foobar()
end
print(doit())