An SDL wrapper library for .NET.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
396 B

using System;
namespace DotSDL.Platform {
/// <summary>
/// Defines a set of function pointers for platform-specific native calls.
/// </summary>
public interface IPlatform {
/// <summary>
/// A high-resolution sleep timer that attempts to rest for a given
/// number of nanoseconds.
/// </summary>
Action<long> Nanosleep { get; }
}
}