mirror of
https://github.com/weechat/weechat.git
synced 2026-06-25 20:36:38 +02:00
Add function buffer_set_pointer in plugin API
This commit is contained in:
@@ -3871,7 +3871,7 @@ weechat_lua_api_buffer_set (lua_State *L)
|
||||
property = lua_tostring (lua_current_interpreter, -2);
|
||||
value = lua_tostring (lua_current_interpreter, -1);
|
||||
|
||||
weechat_buffer_set (script_str2ptr (buffer), property, (void *)value);
|
||||
weechat_buffer_set (script_str2ptr (buffer), property, value);
|
||||
|
||||
LUA_RETURN_OK;
|
||||
}
|
||||
@@ -4530,7 +4530,7 @@ weechat_lua_api_bar_set (lua_State *L)
|
||||
|
||||
weechat_buffer_set (script_str2ptr (bar),
|
||||
property,
|
||||
(void *)value);
|
||||
value);
|
||||
|
||||
LUA_RETURN_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user