How one deals with typedefs in Squeak FFI
问题 I want to interface with a library (HDF5) which uses exclusively its own typedefs in both function prototypes and structure definitions. typedef struct { H5L_type_t type; /* Type of link */ hbool_t corder_valid; /* Indicate if creation order is valid */ int64_t corder; /* Creation order */ H5T_cset_t cset; /* Character set of link name */ union { haddr_t address; /* Address hard link points to */ size_t val_size; /* Size of a soft link or UD link value */ } u; } H5L_info_t; In Visualworks