w32tex
About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

except.c File Reference
#include <stdio.h>
#include "lua.h"
#include "lauxlib.h"
#include "compat.h"
#include "except.h"
Include dependency graph for except.c:

Go to the source code of this file.

Macros

#define protected_cont   protected_finish
 

Functions

static int global_protect (lua_State *L)
 
static int global_newtry (lua_State *L)
 
static int protected_ (lua_State *L)
 
static int finalize (lua_State *L)
 
static int do_nothing (lua_State *L)
 
static void wrap (lua_State *L)
 
static int unwrap (lua_State *L)
 
static int protected_finish (lua_State *L, int status, lua_KContext ctx)
 
int except_open (lua_State *L)
 

Variables

static luaL_Reg func []
 

Macro Definition Documentation

◆ protected_cont

#define protected_cont   protected_finish

Definition at line 105 of file except.c.

Function Documentation

◆ do_nothing()

static int do_nothing ( lua_State L)
static

Definition at line 60 of file except.c.

References L, and void.

Referenced by global_newtry().

◆ except_open()

int except_open ( lua_State L)

Definition at line 127 of file except.c.

References func, L, lua_newtable, lua_pushboolean(), lua_setfield(), and luaL_setfuncs().

◆ finalize()

static int finalize ( lua_State L)
static

◆ global_newtry()

static int global_newtry ( lua_State L)
static

◆ global_protect()

static int global_protect ( lua_State L)
static

◆ protected_()

static int protected_ ( lua_State L)
static

◆ protected_finish()

static int protected_finish ( lua_State L,
int  status,
lua_KContext  ctx 
)
static

Definition at line 90 of file except.c.

References L, lua_error(), lua_gettop(), LUA_YIELD, status, unwrap(), and void.

Referenced by protected_().

◆ unwrap()

static int unwrap ( lua_State L)
static

◆ wrap()

Variable Documentation

◆ func

luaL_Reg func[]
static
Initial value:
= {
{"newtry", global_newtry},
{"protect", global_protect},
}
#define NULL
Definition: ftobjs.h:61
static int global_newtry(lua_State *L)
Definition: except.c:65
static int global_protect(lua_State *L)
Definition: except.c:116

Definition at line 32 of file except.c.

Referenced by _cairo_boxes_for_each_box(), _cairo_gl_dispatch_init_entries(), _cairo_pattern_add_observer(), _cairo_rtree_foreach(), _cairo_rtree_node_foreach(), _cairo_surface_clipper_init(), _cairo_surface_observer_add_callback(), _cairo_traps_compositor_stroke(), _cairo_user_data_array_foreach(), _cairo_win32_device_get_alpha_blend(), _hb_debug_msg(), _hb_debug_msg_va(), _hb_print_func(), _InterpretPS(), add_glyphs(), applyOnRegion(), applyOnRegion2(), asm_callround(), asm_callx(), asm_callx_func(), asm_uref(), auxiliar_newclass(), bcemit_method(), cairo_boxes_for_each_box(), cairo_pdf_interchange_walk_struct_tree(), cairo_surface_observer_add_fill_callback(), cairo_surface_observer_add_finish_callback(), cairo_surface_observer_add_flush_callback(), cairo_surface_observer_add_glyphs_callback(), cairo_surface_observer_add_mask_callback(), cairo_surface_observer_add_paint_callback(), cairo_surface_observer_add_stroke_callback(), cairo_type1_font_for_each_subr(), cairo_type1_font_subset_for_each_glyph(), CallCommandFunc(), CallParamFunc(), XMLNode::cast(), compile(), compile_callback(), compile_extern_jump(), compile_function(), cpcall(), PSOutputDev::createDeviceNTintFunc(), crec_call(), curve_to_dashed(), PSOutputDev::cvtFunction(), db_sethook(), define_new_function(), deflateParams(), do_new(), domain_error(), PSOutputDev::dumpColorSpaceL2(), PSOutputDev::dumpIndexedColorSpace(), each_backtrace(), EMACS_MainLoop(), EMACS_SearchHistory(), except_open(), exe_set_command_all(), exe_set_command_select(), ExponentialFunction::ExponentialFunction(), fast_composite_tiled_repeat(), FcLangSetOperate(), FcPtrListCreate(), free_code(), FT_Get_Advance(), FT_Get_Advances(), Function::Function(), get_filter(), getcurrenv(), CalendarAstronomer::getMoonRiseSet(), CalendarAstronomer::getMoonTime(), CalendarAstronomer::getSunRiseSet(), CalendarAstronomer::getSunTime(), gmk_add_function(), gxv_LookupTable_validate(), gxv_mort_subtables_validate(), gxv_morx_subtables_validate(), SampledFunction::hasDifferentResultSet(), hb_auto_trace_t< max_level, ret_t >::hb_auto_trace_t(), hb_buffer_set_message_func(), hb_font_funcs_set_glyph_func(), index2addr(), index2adr(), iv_foreach(), LJ_ALIGN(), lj_cf_debug_sethook(), lj_debug_getinfo(), lj_meta_call(), lj_record_call(), lj_record_idx(), lj_record_tailcall(), lua_call(), lua_callk(), lua_cpcall(), lua_getinfo(), lua_pcall(), lua_pcallk(), lua_replace(), lua_sethook(), lua_settop(), luaD_call(), luaD_callnoyield(), luaD_pcall(), luaD_precall(), luaK_self(), luaopen_socket_unix(), luaT_callTM(), luaV_execute(), mrb_closure_new_cfunc(), mrb_define_class_method(), mrb_define_class_method_id(), mrb_define_method(), mrb_define_method_id(), mrb_define_module_function(), mrb_define_module_function_id(), mrb_define_singleton_method(), mrb_define_singleton_method_id(), mrb_func_basic_p(), mrb_get_values_at(), mrb_hash_foreach(), mrb_iv_foreach(), mrb_proc_new_cfunc(), mrb_proc_new_cfunc_with_env(), mrbc_partial_hook(), otv_O_x_Ox(), otv_u_C_x_Ox(), otv_u_O_O_O_O_x_Onx(), otv_u_O_O_u_O_O(), otv_u_O_O_x_Onx(), otv_x_Ox(), Function::parse(), pixman_composite_glyphs_no_mask(), pixman_image_composite32(), pixman_image_set_destroy_function(), PostScriptFunction::PostScriptFunction(), push_func_ref(), pushclosure(), rec_call_setup(), rec_mm_arith(), rec_mm_callcomp(), rec_mm_len(), ReplaceableGlue::ReplaceableGlue(), reserve_code(), hb_auto_trace_t< max_level, ret_t >::ret(), CalendarAstronomer::riseOrSet(), SampledFunction::SampledFunction(), SaveReleaseExecuteTree(), SaveReleaseIOActions(), select_detect(), OT::hb_closure_context_t::set_recurse_func(), OT::hb_closure_lookups_context_t::set_recurse_func(), OT::hb_collect_glyphs_context_t::set_recurse_func(), OT::hb_ot_apply_context_t::set_recurse_func(), set_value(), Splash::setBlendFunc(), StitchingFunction::StitchingFunction(), UnicodeMap::swap(), TextOutputDev::TextOutputDev(), CalendarAstronomer::timeOfAngle(), trampoline_create(), tryfuncTM(), ucln_common_registerCleanup_68(), ucln_i18n_registerCleanup_68(), ucln_io_registerCleanup_68(), and ucln_registerCleanup_68().