1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-25 02:58:02 +02:00

Revamp Stdcall

This commit is contained in:
LZMPDev 2020-05-25 20:46:28 +08:00
parent 7b4239d08e
commit ad0dab0d4c
58 changed files with 1398 additions and 1398 deletions

View file

@ -12,19 +12,19 @@ namespace IDE.Clang
{
public class ClangHelper : CompilerBase
{
[StdCall, CLink]
[CallingConvention(.Stdcall), CLink]
static extern IntPtr ClangHelper_Create();
[StdCall, CLink]
[CallingConvention(.Stdcall), CLink]
static extern void ClangHelper_Delete(IntPtr clangHelper);
[StdCall, CLink]
[CallingConvention(.Stdcall), CLink]
static extern IntPtr ClangHelper_Classify(IntPtr clangHelper, char* fileName, void* elementTypeArray, int charLen, int cursorIdx);
[StdCall, CLink]
[CallingConvention(.Stdcall), CLink]
static extern IntPtr ClangHelper_FindDefinition(IntPtr clangHelper, char* fileName, int line, int column, out int outDefLine, out int outDefColumn);
[StdCall, CLink]
[CallingConvention(.Stdcall), CLink]
static extern IntPtr ClangHelper_Autocomplete(IntPtr clangHelper, char* fileName, int cursorIdx);
IntPtr mNativeClangHelper;