The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/openzfs/module/lua/lfunc.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /*
    2 ** $Id: lfunc.h,v 2.8.1.1 2013/04/12 18:48:47 roberto Exp $
    3 ** Auxiliary functions to manipulate prototypes and closures
    4 ** See Copyright Notice in lua.h
    5 */
    6 
    7 #ifndef lfunc_h
    8 #define lfunc_h
    9 
   10 
   11 #include "lobject.h"
   12 
   13 
   14 #define sizeCclosure(n) (cast(int, sizeof(CClosure)) + \
   15                          cast(int, sizeof(TValue)*((n))))
   16 
   17 #define sizeLclosure(n) (cast(int, sizeof(LClosure)) + \
   18                          cast(int, sizeof(TValue *)*((n))))
   19 
   20 
   21 LUAI_FUNC Proto *luaF_newproto (lua_State *L);
   22 LUAI_FUNC Closure *luaF_newCclosure (lua_State *L, int nelems);
   23 LUAI_FUNC Closure *luaF_newLclosure (lua_State *L, int nelems);
   24 LUAI_FUNC UpVal *luaF_newupval (lua_State *L);
   25 LUAI_FUNC UpVal *luaF_findupval (lua_State *L, StkId level);
   26 LUAI_FUNC void luaF_close (lua_State *L, StkId level);
   27 LUAI_FUNC void luaF_freeproto (lua_State *L, Proto *f);
   28 LUAI_FUNC void luaF_freeupval (lua_State *L, UpVal *uv);
   29 LUAI_FUNC const char *luaF_getlocalname (const Proto *func, int local_number,
   30                                          int pc);
   31 
   32 
   33 #endif

Cache object: c0ff7c04dbd7de09302991d9f1036d2b


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.