[plt-scheme] Make uninitialized cstruct

From: Chihiro Kuraya (rxqvw at yahoo.co.jp)
Date: Thu Jun 16 11:05:38 EDT 2005


I want to make large cstruct by not initializing its fields.
define-cstruct syntax provides make-TYPE function,
but it is always required to specify initial values of all fields.

This is very cumbersome in the case structure is used only for 
retrieving information by forign function (for eaxample,
GetStartupInfo Windows API).

Are there any way to make uninitialized cstruct or
zero-initialized cstruct ?

Chihiro Kuraya
Save the earth

Posted on the users mailing list.