l_chk_can_parse_url: Revise error message
[libquvi.git] / src / lua / getfield.h
blobf3df7047ad3b512497f1da6267bee0a38145c1e6
1 /* libquvi
2 * Copyright (C) 2012 Toni Gundogdu <legatvs@gmail.com>
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
17 * 02110-1301 USA
20 #ifndef l_getfield_h
21 #define l_getfield_h
23 gpointer l_get_reg_userdata(lua_State*, const gchar*);
25 #ifdef _1 /* Unused */
27 const gchar *l_getfield_s(lua_State*, const gchar*,
28 const gchar*, const gchar*);
30 const gdouble l_getfield_n(lua_State*, const gchar*,
31 const gchar*, const gchar*);
33 const gboolean l_getfield_b(lua_State*, const gchar*,
34 const gchar*, const gchar*);
36 typedef gint (*l_callback_getfield_table_iter_s) (gpointer, const gchar*);
38 QuviError l_getfield_table_iter_s(lua_State*, const gpointer, const gchar*,
39 const gchar*, const gchar*,
40 l_callback_getfield_table_iter_s);
41 #endif
43 #endif /* l_getfield_h */
45 /* vim: set ts=2 sw=2 tw=72 expandtab: */