Using TVMRetValue* ret in TVM_REGISTER_GLOBAL

Hi,

I am using TVM_REGISTER_GLOBAL("").set_body([](TVMArgs args, TVMRetValue* ret) {…}
to register an external library call. Can I use TVMRetValue* ret to return an opaque handel to a library defined type back to the python side in TVM?