- Subject: [slang-users] How to add a struct type from C?
- From: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- Date: Mon, 1 Feb 2021 12:48:49 -0600
Hi,
I would like to have this structure:
typedef struct {
int type;
int param;
long lparam;
char *str;
} ParmData_Type;
to become available in interpreter, to be able to do:
variable stru = @ParamData_Type;
I've searched the Slirp manual and I've found something that should work,
however it has basically no effect:
slirp_map_struct("ParmData_Type*");
--
Sebastian Gniazdowski
[2021 date index]
[2021 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]