Toggle navigation
MoMEMta
core
include
lua
bindings
Path.h
Go to the documentation of this file.
1
/*
2
* MoMEMta: a modular implementation of the Matrix Element Method
3
* Copyright (C) 2016 Universite catholique de Louvain (UCL), Belgium
4
*
5
* This program is free software: you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License as published by
7
* the Free Software Foundation, either version 3 of the License, or
8
* (at your option) any later version.
9
*
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License
16
* along with this program. If not, see <http://www.gnu.org/licenses/>.
17
*/
18
19
#pragma once
20
21
struct
lua_State;
22
struct
ExecutionPath
;
23
29
#define LUA_PATH_TYPE_NAME "Path"
30
31
namespace
lua
{
32
36
void
path_register
(lua_State* L,
void
* ptr);
37
41
int
path_new
(lua_State* L);
42
46
int
path_free
(lua_State* L);
47
51
ExecutionPath
*
path_get
(lua_State* L,
int
index);
52
53
}
lua::path_free
int path_free(lua_State *L)
Free an instance of Path.
Definition:
Path.cc:77
lua::path_new
int path_new(lua_State *L)
Create a new instance of Path.
Definition:
Path.cc:48
lua::path_get
ExecutionPath * path_get(lua_State *L, int index)
Retrieve an instance of Path from the lua stack.
Definition:
Path.cc:83
lua::path_register
void path_register(lua_State *L, void *ptr)
Register Path into lua runtime.
Definition:
Path.cc:28
ExecutionPath
Definition:
ExecutionPath.h:33
lua
Utility functions related to lua configuration file parsing.
Definition:
Path.h:31
Generated by
1.8.13