mirror of
https://github.com/weechat/weechat.git
synced 2026-06-26 21:06:38 +02:00
php: fix return value of function hdata_longlong
This commit is contained in:
+2
-1
@@ -14,7 +14,8 @@
|
||||
[[v4.3.1_fixed]]
|
||||
=== Fixed
|
||||
|
||||
* tcl: fix return value for hdata_longlong (issue #2119)
|
||||
* php: fix return value of function hdata_longlong
|
||||
* tcl: fix return value of function hdata_longlong (issue #2119)
|
||||
* tests: fix relay tests on s390x (issue #2118)
|
||||
* tests: fix check of php plugin (issue #2117)
|
||||
* tests: fix compilation of tests on Fedora 40 (issue #2116)
|
||||
|
||||
@@ -81,6 +81,7 @@
|
||||
RETURN_STRING("");
|
||||
#define API_RETURN_INT(__int) RETURN_LONG(__int)
|
||||
#define API_RETURN_LONG(__long) RETURN_LONG(__long)
|
||||
#define API_RETURN_LONGLONG(__longlong) RETURN_DOUBLE(__longlong)
|
||||
#define weechat_php_get_function_name(__zfunc, __str) \
|
||||
const char *(__str); \
|
||||
do \
|
||||
@@ -5545,7 +5546,7 @@ API_FUNC(hdata_longlong)
|
||||
|
||||
result = weechat_hdata_longlong (hdata, pointer, (const char *)name);
|
||||
|
||||
API_RETURN_LONG(result);
|
||||
API_RETURN_LONGLONG(result);
|
||||
}
|
||||
|
||||
API_FUNC(hdata_string)
|
||||
|
||||
Reference in New Issue
Block a user