mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-04 06:38:47 +00:00
Fix pointer differences (issue #11); remove #dll_import
This commit is contained in:
+3
-3
@@ -1235,9 +1235,9 @@ void ir_print_instr(irFileBuffer *f, irModule *m, irValue *value) {
|
||||
void ir_print_proc(irFileBuffer *f, irModule *m, irProcedure *proc) {
|
||||
if (proc->body == NULL) {
|
||||
ir_fprintf(f, "declare ");
|
||||
if (proc->tags & ProcTag_dll_import) {
|
||||
ir_fprintf(f, "dllimport ");
|
||||
}
|
||||
// if (proc->tags & ProcTag_dll_import) {
|
||||
// ir_fprintf(f, "dllimport ");
|
||||
// }
|
||||
} else {
|
||||
ir_fprintf(f, "\n");
|
||||
ir_fprintf(f, "define ");
|
||||
|
||||
Reference in New Issue
Block a user