[vala] Add missing cheader attribute for luaL_loadfile
- From: Ben Iofel <beniofel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] Add missing cheader attribute for luaL_loadfile
- Date: Thu, 28 Jan 2016 21:47:46 +0000 (UTC)
commit 4493ff34cf5aacd1c6b41c2f0b2e5d5caefc178e
Author: Peter Lamby <peterlamby web de>
Date: Tue Jun 2 12:13:14 2015 +0200
Add missing cheader attribute for luaL_loadfile
vapi/lua.vapi | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vapi/lua.vapi b/vapi/lua.vapi
index 1041a0b..dc2e8f5 100644
--- a/vapi/lua.vapi
+++ b/vapi/lua.vapi
@@ -397,7 +397,7 @@ namespace Lua {
public int load_buffer (char[] buffer, string? name = null);
[CCode (cname = "luaL_loadstring")]
public int load_string (string s);
- [CCode (cname = "luaL_loadfile")]
+ [CCode (cname = "luaL_loadfile", cheader_filename = "lauxlib.h")]
public int load_file (string filename);
[CCode (cname = "luaL_dofile", cheader_filename = "lauxlib.h")]
public bool do_file (string filename);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]