Patch 8.2.1057 (after 8.2.1054)
Problem:    Cannot build with dynamic Lua.
Solution:   Add dll variables.
Files:      src/if_lua.c


*** ../vim-8.2.1056/src/if_lua.c        2020-06-25 19:27:53.036387595 +0200
--- src/if_lua.c        2020-06-25 20:55:19.251425310 +0200
***************
*** 131,136 ****
--- 131,138 ----
  #define luaL_addlstring dll_luaL_addlstring
  #define luaL_pushresult dll_luaL_pushresult
  #define luaL_loadstring dll_luaL_loadstring
+ #define luaL_ref dll_luaL_ref
+ #define luaL_unref dll_luaL_unref
  // lua
  #if LUA_VERSION_NUM <= 501
  #define lua_tonumber dll_lua_tonumber
***************
*** 226,231 ****
--- 228,239 ----
  void (*dll_luaL_addlstring) (luaL_Buffer *B, const char *s, size_t l);
  void (*dll_luaL_pushresult) (luaL_Buffer *B);
  int (*dll_luaL_loadstring) (lua_State *L, const char *s);
+ int (*dll_luaL_ref) (lua_State *L, int idx);
+ #if LUA_VERSION_NUM <= 502
+ void (*dll_luaL_unref) (lua_State *L, int idx, int n);
+ #else
+ void (*dll_luaL_unref) (lua_State *L, int idx, lua_Integer n);
+ #endif
  // lua
  #if LUA_VERSION_NUM <= 501
  lua_Number (*dll_lua_tonumber) (lua_State *L, int idx);
***************
*** 339,344 ****
--- 347,354 ----
      {"luaL_addlstring", (luaV_function) &dll_luaL_addlstring},
      {"luaL_pushresult", (luaV_function) &dll_luaL_pushresult},
      {"luaL_loadstring", (luaV_function) &dll_luaL_loadstring},
+     {"luaL_ref", (luaV_function) &dll_luaL_ref},
+     {"luaL_unref", (luaV_function) &dll_luaL_unref},
      // lua
  #if LUA_VERSION_NUM <= 501
      {"lua_tonumber", (luaV_function) &dll_lua_tonumber},
*** ../vim-8.2.1056/src/version.c       2020-06-25 20:07:00.830799075 +0200
--- src/version.c       2020-06-25 20:56:23.091187074 +0200
***************
*** 756,757 ****
--- 756,759 ----
  {   /* Add new patch number below this line */
+ /**/
+     1057,
  /**/

-- 
Men may not be seen publicly in any kind of strapless gown.
                [real standing law in Florida, United States of America]

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/202006251858.05PIwK7a2299075%40masaka.moolenaar.net.

Raspunde prin e-mail lui