gluon-web: remove unnecessary template_lualib.h

This commit is contained in:
Matthias Schiffer 2018-02-22 13:34:32 +01:00
parent 91ae553c93
commit 0ff4761a57
No known key found for this signature in database
GPG Key ID: 16EF3F64CB201D9C
2 changed files with 6 additions and 31 deletions

View File

@ -16,7 +16,12 @@
* limitations under the License.
*/
#include "template_lualib.h"
#include "template_parser.h"
#include "template_utils.h"
#include "template_lmo.h"
#define TEMPLATE_LUALIB_META "gluon.web.template.parser"
static int template_L_do_parse(lua_State *L, struct template_parser *parser, const char *chunkname)
{

View File

@ -1,30 +0,0 @@
/*
* LuCI Template - Lua library header
*
* Copyright (C) 2009 Jo-Philipp Wich <jow@openwrt.org>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef _TEMPLATE_LUALIB_H_
#define _TEMPLATE_LUALIB_H_
#include "template_parser.h"
#include "template_utils.h"
#include "template_lmo.h"
#define TEMPLATE_LUALIB_META "gluon.web.template.parser"
LUALIB_API int luaopen_gluon_web_template_parser(lua_State *L);
#endif