restricted c header imports
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
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
|
||||
|
||||
main :: func() void {
|
||||
_ = native.imported_variadic("value")
|
||||
_ = native.IMPORTED_MACRO
|
||||
_ = native.imported_by_value()
|
||||
_ = native.imported_volatile()
|
||||
_ = native.imported_bool()
|
||||
_ = native.imported_global
|
||||
_ = native.imported_inline(1)
|
||||
}
|
||||
Reference in New Issue
Block a user