Re: C data reflection in LuaJIT

  • From: Mike Pall <mike-1410@xxxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Tue, 7 Oct 2014 16:02:42 +0200

Peter Colberg wrote:
> Would you accept a CType userdata that exposes ctype_ macros on
> ct->info as methods and ct->name as a string? That would avoid
> replicating parts of the internal API of lj_obj.h and lj_ctype.h.

Ah, I forgot about the GCref. Ok, so it might make more sense to
offer an API similar to jit.util.traceir(). I.e. split the struct
up into multiple return values.

--Mike

Other related posts: