diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2019-08-11 18:35:16 +0000 |
|---|---|---|
| committer | Quentin Young <qlyoung@nvidia.com> | 2020-12-01 18:37:14 -0500 |
| commit | f93716445925f81c5e257e276a5bcc5cd7d74afd (patch) | |
| tree | 78e32a73d1d2f058e94610b888615334c5b05768 /lib/frrlua.h | |
| parent | d473bdc7f1e65a37384acb29af568c4b12a5a207 (diff) | |
lib: remove frrlua_initialize
This was toy code used for testing purposes. Code calling Lua should be
very explicit about what is loaded into the Lua state. Also, the
allocator used is exactly the same allocator used by default w/
luaL_newstate().
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/frrlua.h')
| -rw-r--r-- | lib/frrlua.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/frrlua.h b/lib/frrlua.h index d6ee2347a9..56c43b7755 100644 --- a/lib/frrlua.h +++ b/lib/frrlua.h @@ -57,15 +57,6 @@ enum frrlua_rm_status { }; /* - * Creates a new Lua state, loads all libraries, and if a script is provided, - * runs it. - * - * Returns: - * The new Lua state. - */ -lua_State *frrlua_initialize(const char *file); - -/* * Pushes a new table containing relevant fields from a prefix structure. * * Additionally sets the global variable "prefix" to point at this table. |
