initialization of userdata
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: initialization of userdata
- From: Dirk Laurie <dirk.laurie@...>
- Date: 2011年12月16日 18:42:50 +0200
The manual says of `luanewuserdata`:
…allocates a new block of memory with the given size, pushes onto the
stack a new full userdata with the block address, and returns this
address.
It does not say the block is initialized to zero, but that invariably
has so far been true on my system.
Implementation detail?