~ubuntu-branches/ubuntu/vivid/vala/vivid

« back to all changes in this revision

Viewing changes to vapi/lua.vapi

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2010-07-28 07:58:01 UTC
  • mfrom: (1.5.5 upstream) (7.3.14 experimental)
  • Revision ID: james.westby@ubuntu.com-20100728075801-18u9cg5hv5oety6m
Tags: 0.9.4-1
New upstream development release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
        // option for multiple returns in `lua_pcall' and `lua_call'
39
39
        public const int MULTRET;
40
40
 
 
41
        [CCode (cheader_filename = "lauxlib.h")]
 
42
        public enum Reference
 
43
        {
 
44
                [CCode (cname = "LUA_REFNIL")]
 
45
                NIL,
 
46
                [CCode (cname = "LUA_NOREF")]
 
47
                NONE
 
48
        }
 
49
 
41
50
        // pseudo-indices
42
51
 
43
52
        [CCode (cheader_filename = "lua.h")]
394
403
                public bool do_file (string filename);
395
404
                [CCode (cname = "luaL_dostring", cheader_filename = "lauxlib.h")]
396
405
                public bool do_string (string str);
 
406
                [CCode (cname = "luaL_ref", cheader_filename = "lauxlib.h")]
 
407
                public int reference (int t);
 
408
                [CCode (cname = "luaL_unref", cheader_filename = "lauxlib.h")]
 
409
                public void unreference (int t);
397
410
        }
398
411
}