Re: @mattlewis: I have some questions about memstruct if you're around
- Posted by ghaberek (admin) Sep 09, 2019
- 947 views
I had emailed Matt directly the other day and this was his reply.
mattlewis said...
I think it should be possible to make the memstruct name optional when you know the type you're dealing with already. However, if the pointer is stored in a sequence or something then you wouldn't have any way to know what to look for. But it would certainly be nice to have where you could use it. I suspect it's probably something I would have gotten around to eventually.
As for poking a union or a struct...I guess they'd probably be a memcpy or similar of the appropriate size.
Matt
-Greg