Example #1
0
 public static extern WasiInstanceHandle wasi_instance_new(
     StoreHandle store,
     [MarshalAs(UnmanagedType.LPUTF8Str)] string name,
     WasiConfigHandle config,
     out IntPtr trap
     );
Example #2
0
 public static extern void wasi_config_inherit_stderr(WasiConfigHandle config);
Example #3
0
 public static extern bool wasi_config_preopen_dir(
     WasiConfigHandle config,
     [MarshalAs(UnmanagedType.LPUTF8Str)] string path,
     [MarshalAs(UnmanagedType.LPUTF8Str)] string guestPath
     );
Example #4
0
 public static extern bool wasi_config_set_stderr_file(
     WasiConfigHandle config,
     [MarshalAs(UnmanagedType.LPUTF8Str)] string path
     );
Example #5
0
 public static extern unsafe void wasi_config_set_env(
     WasiConfigHandle config,
     int envc,
     byte *[] names,
     byte *[] values
     );
Example #6
0
 public static extern void wasi_config_inherit_argv(WasiConfigHandle config);
Example #7
0
 public unsafe static extern void wasi_config_set_argv(WasiConfigHandle config, int argc, byte *[] argv);
Example #8
0
 public static extern WasiInstanceHandle wasi_instance_new(
     StoreHandle store,
     WasiConfigHandle config,
     out IntPtr trap
     );