Re: __len metamethod of pointer of struct

  • From: Mike Pall <mike-1209@xxxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Sat, 8 Sep 2012 21:05:41 +0200

Peter Colberg wrote:
> Since __tostring works fine with a struct pointer, should __len work, too?

Yes it should. Thank you for the bug report and the test case!
Fixed in git HEAD.

--Mike

Other related posts: