COMPILES TO EXE

This commit is contained in:
Pasha Bibko
2025-05-03 21:48:16 +01:00
parent 3386272f2a
commit 8d9c850206
8 changed files with 92 additions and 184 deletions

View File

@@ -11,7 +11,8 @@ namespace LX_Build
private static partial bool SetDllDirectory(string lpPathName);
// Imports the Frontend of the compiler //
[LibraryImport("Generator.dll", StringMarshalling = StringMarshalling.Custom, StringMarshallingCustomType = typeof(System.Runtime.InteropServices.Marshalling.AnsiStringMarshaller))]
[LibraryImport ("Generator.dll", StringMarshalling = StringMarshalling.Custom,
StringMarshallingCustomType = typeof(System.Runtime.InteropServices.Marshalling.AnsiStringMarshaller))]
[UnmanagedCallConv(CallConvs = new Type[] { typeof(System.Runtime.CompilerServices.CallConvCdecl) })]
public static partial int GenIR(string arg1, string arg2, string? arg3);