Skip to content

Commit 376e418

Browse files
committed
update return types and version #
1 parent 6bfbc90 commit 376e418

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

bsdiff.stub.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
/** @generate-class-entries */
44

5-
function bsdiff_diff(string $old_file, string $new_file, string $diff_file): bool {}
5+
function bsdiff_diff(string $old_file, string $new_file, string $diff_file): void {}
66

7-
function bsdiff_patch(string $old_file, string $new_file, string $diff_file): bool {}
7+
function bsdiff_patch(string $old_file, string $new_file, string $diff_file): void {}
88

99
class BsdiffException extends Exception
1010
{

bsdiff_arginfo.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* This is a generated file, edit the .stub.php file instead.
2-
* Stub hash: feff08cc6a667f071aa44151cfa83135e5c4cd9f */
2+
* Stub hash: 43c3c6f2d50e9214e8d9d22bde26244fc295f132 */
33

4-
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_bsdiff_diff, 0, 3, _IS_BOOL, 0)
4+
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_bsdiff_diff, 0, 3, IS_VOID, 0)
55
ZEND_ARG_TYPE_INFO(0, old_file, IS_STRING, 0)
66
ZEND_ARG_TYPE_INFO(0, new_file, IS_STRING, 0)
77
ZEND_ARG_TYPE_INFO(0, diff_file, IS_STRING, 0)

php_bsdiff.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
extern zend_module_entry bsdiff_module_entry;
77
# define phpext_bsdiff_ptr &bsdiff_module_entry
88

9-
# define PHP_BSDIFF_VERSION "0.1.0"
9+
# define PHP_BSDIFF_VERSION "0.1.0-dev"
1010

1111
# if defined(ZTS) && defined(COMPILE_DL_BSDIFF)
1212
ZEND_TSRMLS_CACHE_EXTERN()

0 commit comments

Comments
 (0)