view lua/gplugin-lua-plugin.h @ 1637:a7dd676db7d8 develop

Configure clang-format CI The builder image has been updated to support clang-format. Committed-by: Richard Laager <rlaager@pidgin.im>
author Gary Kramlich <grim@reaperworld.com>
date Sat, 15 Feb 2020 21:12:25 -0600
parents 5f2f732da307
children 928a70e2cb97
line wrap: on
line source

/*
 * Copyright (C) 2011-2014 Gary Kramlich <grim@reaperworld.com>
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, see <http://www.gnu.org/licenses/>.
 */

#ifndef GPLUGIN_LUA_PLUGIN_H
#define GPLUGIN_LUA_PLUGIN_H

#include <gplugin.h>
#include <gplugin-native.h>

#include <lua.h>

G_BEGIN_DECLS

#define GPLUGIN_LUA_TYPE_PLUGIN (gplugin_lua_plugin_get_type())
G_DECLARE_FINAL_TYPE(GPluginLuaPlugin, gplugin_lua_plugin, GPLUGIN_LUA, PLUGIN, GObject)

void gplugin_lua_plugin_register(GPluginNativePlugin *native);

lua_State *gplugin_lua_plugin_get_state(GPluginLuaPlugin *plugin);

G_END_DECLS

#endif /* GPLUGIN_LUA_PLUGIN_H */