Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 4c7cc09

Browse files
author
Andrew Zenin
committed
Update ZENDAPI.pas
1 parent 2c9ba90 commit 4c7cc09

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

‎Source/ZENDAPI.pas

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -251,8 +251,9 @@ function zend_hash_add(ht : {$IFDEF PHP7}Pzend_array{$ELSE}PHashTable{$ENDIF}; a
251251
zend_hash_find : function(ht: {$IFDEF PHP7} Pzend_array {$ELSE} PHashTable{$ENDIF}; arKey: zend_pchar; nKeyLength: uint;
252252
pData: Pointer): Integer; cdecl;
253253

254-
zend_hash_quick_find : function(ht: {$IFDEF PHP7} Pzend_array {$ELSE} PHashTable{$ENDIF}; arKey: zend_pchar;
255-
nKeyLength: uint; h: ulong; pData: Pointer): Integer; cdecl;
254+
zend_hash_quick_find :
255+
function(ht: {$IFDEF PHP7} Pzend_array {$ELSE} PHashTable{$ENDIF}; arKey: zend_pchar;
256+
nKeyLength: uint; h: ulong; out pData: ppzval): Integer; cdecl;
256257

257258
zend_hash_index_find : function(ht: {$IFDEF PHP7} Pzend_array {$ELSE} PHashTable{$ENDIF}; h: ulong; pData: Pointer): Integer; cdecl;
258259

@@ -570,7 +571,7 @@ procedure convert_to_string(op: pzval);
570571
{$IFDEF PHP7}
571572
function(param_count:longint):longint; cdecl varargs;
572573
{$ELSE}
573-
function(param_count : Integer; Args : ppzval) :integer; cdecl varargs;
574+
function(param_count : Integer; Args : ppzval): integer; cdecl varargs;
574575
{$ENDIF}
575576
{$IFDEF PHP7}
576577
ZvalGetArgs: function(Count: Integer; Args: ppzval): Integer;cdecl varargs;
@@ -1152,7 +1153,7 @@ procedure ZvalVAL(z:pzval; v:Integer; const _type:Integer = IS_LONG);
11521153
{$ELSE}
11531154
z^._type
11541155
{$ENDIF} := _type;
1155-
z.value.lval := v;
1156+
z^.value.lval := v;
11561157
End;
11571158

11581159
procedure ZvalVAL(z:pzval);
@@ -2946,7 +2947,7 @@ function LoadZEND(const DllFilename: zend_ustr = PHPWin) : boolean;
29462947
ZendGetParameters := GetProcAddress(PHPLib, 'zend_get_parameters');
29472948

29482949
// - zend_get_parameters_ex (native call)
2949-
zend_get_params_ex := GetProcAddress(PHPLib, 'zend_get_params_ex');
2950+
zend_get_params_ex := GetProcAddress(PHPLib, 'zend_get_parameters_ex');
29502951
{$IFDEF PHP5}
29512952
zend_destroy_file_handle := GetProcAddress(PHPLib, 'zend_destroy_file_handle');
29522953
{$ENDIF}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /