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/lapi.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: lapi.h,v 2.7.1.1 2013/04/12 18:48:47 roberto Exp $
    3 ** Auxiliary functions from Lua API
    4 ** See Copyright Notice in lua.h
    5 */
    6 
    7 #ifndef lapi_h
    8 #define lapi_h
    9 
   10 
   11 #include "llimits.h"
   12 #include "lstate.h"
   13 
   14 #define api_incr_top(L)   {L->top++; api_check(L, L->top <= L->ci->top, \
   15                                 "stack overflow");}
   16 
   17 #define adjustresults(L,nres) \
   18     { if ((nres) == LUA_MULTRET && L->ci->top < L->top) L->ci->top = L->top; }
   19 
   20 #define api_checknelems(L,n)    api_check(L, (n) < (L->top - L->ci->func), \
   21                                   "not enough elements in the stack")
   22 
   23 
   24 #endif

Cache object: 5707617a7f4738c5ce1d71d6cfc50d01


[ 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.