fluL_setmetatable Subroutine

public subroutine fluL_setmetatable(L, tname)

Arguments

Type IntentOptional Attributes Name
type(flu_State) :: L
character(len=*) :: tname

Calls

proc~~flul_setmetatable~~CallsGraph proc~flul_setmetatable fluL_setmetatable interface~lual_setmetatable luaL_setmetatable proc~flul_setmetatable->interface~lual_setmetatable

Source Code

  subroutine fluL_setmetatable(L, tname)
    type(flu_State) :: L
    character(len=*) :: tname

    character(len=len_trim(tname) + 1) :: c_name

    c_name = trim(tname) // c_null_char
    call luaL_setmetatable(L%state, c_name)
  end subroutine fluL_setmetatable