Replace foreign export {} with @export

This commit is contained in:
gingerBill
2019-02-23 21:39:47 +00:00
parent 38ae2e9efa
commit e551d2b25e
7 changed files with 70 additions and 30 deletions
+5 -1
View File
@@ -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") {