28 lines
461 B
C++
28 lines
461 B
C++
// TJP COPYRIGHT HEADER
|
|
|
|
#pragma once
|
|
|
|
#include <functional>
|
|
|
|
namespace tjp {
|
|
namespace core {
|
|
|
|
struct DispatchException;
|
|
|
|
struct Variable;
|
|
|
|
template<typename T>
|
|
struct StackVariable;
|
|
|
|
typedef std::function<void(Variable &result, Variable &¶m)> DispatchFunction;
|
|
|
|
template<typename R, typename T>
|
|
DispatchFunction asDispatchFunction(std::function<R(T)> &&f);
|
|
|
|
struct FunctionDispatchOnParam;
|
|
struct FunctionDispatchOnReturn;
|
|
|
|
|
|
} // namespace
|
|
} // namespace
|