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.
36 lines
832 B
C#
36 lines
832 B
C#
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,
|
|
}
|
|
}
|