janet-lang / spork

Various Janet utility modules - the official "Contrib" library.
MIT License
122 stars 35 forks source link

:pointer case didnt work: #114

Closed kamisori closed 1 year ago

kamisori commented 1 year ago

it printed "<tuple 0x023B4A2F7E40>" instead of "void" with rtype being tuple: ( void)

now it prints type in that case, so void or JanetBuffer in case of :buffer ... or const char in case of cstring

bakpakin commented 1 year ago

Wouldn't emit-type be the better choice here rather that this hack for pointers only?

kamisori commented 1 year ago

please see #118