LF_Compare

LuaFAR 3

LF_Compare


intptr_t LF_Compare(lua_State* L, const struct CompareInfo *Info)

Parameters:

  L:       Lua state
  ....

Returns:

  comparison result

Description:

If Lua function export.Compare exists, it is called, else -2 is returned (directing to use the default FAR compare function).