mirror of
https://github.com/antopilo/Nuake.git
synced 2026-09-15 20:08:54 +03:00
Now bindings works automatically and is smoooth, aslo strings work now
This commit is contained in:
@@ -17,5 +17,19 @@ namespace Nuake.Net
|
||||
Internals.AudioModuleSetMutedICall(muted);
|
||||
}
|
||||
}
|
||||
public static void HelloWorld()
|
||||
{
|
||||
unsafe
|
||||
{
|
||||
Internals.AudioModuleHelloWorldICall();
|
||||
}
|
||||
}
|
||||
public static void SetName(string name)
|
||||
{
|
||||
unsafe
|
||||
{
|
||||
Internals.AudioModuleSetNameICall(name);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,11 +10,11 @@ namespace Nuake.Net
|
||||
Internals.ExampleModuleExampleFunctionICall();
|
||||
}
|
||||
}
|
||||
public static void ExampleModuleLog(string hi)
|
||||
public static void ExampleModuleLog16(string hi2)
|
||||
{
|
||||
unsafe
|
||||
{
|
||||
Internals.ExampleModuleExampleModuleLogICall(hi);
|
||||
Internals.ExampleModuleExampleModuleLog16ICall(hi2);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,10 +6,12 @@ public class Internals
|
||||
// AudioModule
|
||||
internal static unsafe delegate*<float,void>AudioModuleSetVolumeICall;
|
||||
internal static unsafe delegate*<bool,void>AudioModuleSetMutedICall;
|
||||
internal static unsafe delegate*<void>AudioModuleHelloWorldICall;
|
||||
internal static unsafe delegate*<NativeString,void>AudioModuleSetNameICall;
|
||||
|
||||
// ExampleModule
|
||||
internal static unsafe delegate*<void>ExampleModuleExampleFunctionICall;
|
||||
internal static unsafe delegate*<NativeString,void>ExampleModuleExampleModuleLogICall;
|
||||
internal static unsafe delegate*<NativeString,void>ExampleModuleExampleModuleLog16ICall;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user