flu_pcall Function

public function flu_pcall(L, nargs, nresults, errfunc) result(errcode)

Arguments

Type IntentOptional Attributes Name
type(flu_State) :: L
integer :: nargs
integer :: nresults
integer :: errfunc

Return Value integer


Calls

proc~~flu_pcall~~CallsGraph proc~flu_pcall flu_pcall interface~lua_pcallk lua_pcallk proc~flu_pcall->interface~lua_pcallk

Called by

proc~~flu_pcall~~CalledByGraph proc~flu_pcall flu_pcall proc~aot_fun_do aot_fun_do proc~aot_fun_do->proc~flu_pcall proc~open_config_buffer open_config_buffer proc~open_config_buffer->proc~flu_pcall proc~open_config_chunk open_config_chunk proc~open_config_chunk->proc~flu_pcall proc~open_config_file open_config_file proc~open_config_file->proc~flu_pcall program~test test program~test->proc~flu_pcall proc~aot_path_open_table aot_path_open_table proc~aot_path_open_table->proc~open_config_file proc~aot_require_buffer aot_require_buffer proc~aot_require_buffer->proc~open_config_buffer interface~aot_path_open aot_path_open interface~aot_path_open->proc~aot_path_open_table proc~aot_path_open_fun aot_path_open_fun interface~aot_path_open->proc~aot_path_open_fun proc~aot_path_open_fun->proc~aot_path_open_table

Source Code

  function flu_pcall(L, nargs, nresults, errfunc) result(errcode)
    type(flu_State) :: L
    integer :: nargs
    integer :: nresults
    integer :: errfunc
    integer :: errcode

    integer(kind=c_int) :: c_nargs
    integer(kind=c_int) :: c_nresults
    integer(kind=c_int) :: c_errfunc
    integer(kind=c_int) :: c_errcode

    c_nargs = nargs
    c_nresults = nresults
    c_errfunc = errfunc

    c_errcode = lua_pcallk(L%state, c_nargs, c_nresults, c_errfunc, &
      &                    0_c_int, C_NULL_PTR)
    errcode = c_errcode
  end function flu_pcall