On Jul 31, 2014, at 19:00 , Nick Wellnhofer <[email protected]> wrote:
> On Jul 31, 2014, at 17:16 , Marvin Humphrey <[email protected]> wrote: > >> However, we'll need to figure out what to do about To_Host() first. > > Defining a new type cfish_host_obj_t in cfish_hostdefs.h for host language > objects looks like the sanest approach to me. With such a type, CFC could > create the appropriate mappings easily. This would also allow us to remove a > few casts to SV* in XSBind.c. OTOH, do we have to expose To_Host at all? It doesn't make sense to call To_Host from a host language since it will simply return the same object. And overriding it in the host language would result in a endless recursive call. Nick
