Files
gtk/gsk/gskslnativefunctionprivate.h
Benjamin Otte 4d49471685 gskslfunction: Move native function details to native function code
Instead of specifying the GskSlNativeFunction struct as the interface,
just have a more verbose constructor for native functins.

This will allow refactoring at will in the native function code.
2017-10-30 02:58:03 +01:00

34 lines
1.1 KiB
C

/* GTK - The GIMP Toolkit
*
* Copyright © 2017 Benjamin Otte <otte@gnome.org>
*
* 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 __GSK_SL_NATIVE_FUNCTION_PRIVATE_H__
#define __GSK_SL_NATIVE_FUNCTION_PRIVATE_H__
#include <glib.h>
#include "gsksltypesprivate.h"
G_BEGIN_DECLS
void gsk_sl_native_functions_add (GskSlScope *scope,
GskSlEnvironment *environment);
G_END_DECLS
#endif /* __GSK_SL_NATIVE_FUNCTION_PRIVATE_H__ */