function pointers and callbacks
This commit is contained in:
@@ -3,10 +3,17 @@ native :: import "../header/include/native.h"
|
||||
use_callback :: c_func(value native.Imported_Callback) void
|
||||
use_union :: c_func(value native.Imported_Union) void
|
||||
use_enum :: c_func(value native.Imported_Enum) void
|
||||
use_opaque :: c_func(value native.Imported_Handle) void
|
||||
|
||||
main :: func() void {
|
||||
_ = native.IMPORTED_MACRO
|
||||
_ = native.imported_by_value()
|
||||
_ = native.imported_bitfield()
|
||||
_ = native.imported_packed()
|
||||
_ = native.imported_flexible()
|
||||
_ = native.imported_qualified()
|
||||
_ = native.imported_overaligned()
|
||||
_ = native.imported_anonymous()
|
||||
_ = native.imported_volatile()
|
||||
_ = native.imported_bool()
|
||||
_ = native.imported_global
|
||||
|
||||
Reference in New Issue
Block a user