I'm trying to write a module that exports a function so that it's callable from another runtime. I've tried using UnmanagedCallersOnly, which I've seen be usable in other runtimes.
using System.Runtime.InteropServices;
using Extism;
[UnmanagedCallersOnly(EntryPoint = "add_two")]
static int add_two() {
return 0;
}
I seem to only get the following exported functions:
I'm trying to write a module that exports a function so that it's callable from another runtime. I've tried using
UnmanagedCallersOnly
, which I've seen be usable in other runtimes.I seem to only get the following exported functions:
Is this possible to accomplish with this SDK?