25 lines
478 B
C++
25 lines
478 B
C++
#pragma once
|
|
#include "wiLua.h"
|
|
#include "wiLuna.h"
|
|
#include "wiJobSystem.h"
|
|
|
|
namespace wi::lua
|
|
{
|
|
class Async_BindLua
|
|
{
|
|
public:
|
|
wi::jobsystem::context ctx;
|
|
inline static constexpr char className[] = "Async";
|
|
static Luna<Async_BindLua>::FunctionType methods[];
|
|
static Luna<Async_BindLua>::PropertyType properties[];
|
|
|
|
Async_BindLua() = default;
|
|
Async_BindLua(lua_State* L) {}
|
|
|
|
int Wait(lua_State* L);
|
|
int IsCompleted(lua_State* L);
|
|
|
|
static void Bind();
|
|
};
|
|
}
|