c-for-go
c-for-go copied to clipboard
type C.struct_ in strut and func
tcl.h 8.6.12
typedef struct Tcl_Channel_ *Tcl_Channel;
typedef struct Tcl_ChannelTypeVersion_ *Tcl_ChannelTypeVersion;
result
// Tcl_Channel as declared in include/tcl.h:543
type Tcl_Channel C.struct_Tcl_Channel_
// Tcl_ChannelTypeVersion as declared in include/tcl.h:544
type Tcl_ChannelTypeVersion C.struct_Tcl_ChannelTypeVersion_
// Tcl_ChannelType as declared in include/tcl.h:1607
type Tcl_ChannelType struct {
...
version Tcl_ChannelTypeVersion_
...
}
// TclStubs as declared in include/tclDecls.h:2545
type TclStubs struct {
...
tcl_GetTopChannel Tcl_Channel
tcl_ChannelBuffered *func(_chan Tcl_Channel_) int32
tcl_ChannelName *func(chanTypePtr *Tcl_ChannelType) string
tcl_ChannelVersion Tcl_ChannelTypeVersion
...
}