Move Wasmtime for .NET to the Wasmtime repo.
This moves the Wasmtime for .NET implementation to the Wasmtime repo. Wasmtime for .NET is a binding of the Wasmtime API for use in .NET.
This commit is contained in:
35
crates/misc/dotnet/src/ValueKind.cs
Normal file
35
crates/misc/dotnet/src/ValueKind.cs
Normal file
@@ -0,0 +1,35 @@
|
||||
using System;
|
||||
|
||||
namespace Wasmtime
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents the possible kinds of WebAssembly values.
|
||||
/// </summary>
|
||||
public enum ValueKind
|
||||
{
|
||||
/// <summary>
|
||||
/// The value is a 32-bit integer.
|
||||
/// </summary>
|
||||
Int32,
|
||||
/// <summary>
|
||||
/// The value is a 64-bit integer.
|
||||
/// </summary>
|
||||
Int64,
|
||||
/// <summary>
|
||||
/// The value is a 32-bit floating point number.
|
||||
/// </summary>
|
||||
Float32,
|
||||
/// <summary>
|
||||
/// The value is a 64-bit floating point number.
|
||||
/// </summary>
|
||||
Float64,
|
||||
/// <summary>
|
||||
/// The value is a reference.
|
||||
/// </summary>
|
||||
AnyRef = 128,
|
||||
/// <summary>
|
||||
/// The value is a function reference.
|
||||
/// </summary>
|
||||
FuncRef,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user