mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-14 01:42:22 -07:00
Replace foreign export {} with @export
This commit is contained in:
+5
-1
@@ -1783,7 +1783,11 @@ Type *type_to_abi_compat_param_type(gbAllocator a, Type *original_type) {
|
||||
Type *new_type = original_type;
|
||||
|
||||
if (is_type_boolean(original_type)) {
|
||||
return t_llvm_bool;
|
||||
Type *t = core_type(base_type(new_type));
|
||||
if (t == t_bool) {
|
||||
return t_llvm_bool;
|
||||
}
|
||||
return new_type;
|
||||
}
|
||||
|
||||
if (build_context.ODIN_ARCH == "386") {
|
||||
|
||||
Reference in New Issue
Block a user