A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/protocolbuffers/protobuf/commit/e04fe69a9f5fa44a89ef3b4410363776101eac0d below:

improve return typehint when repeatedfield (#11734) · protocolbuffers/protobuf@e04fe69 · GitHub

File tree Expand file treeCollapse file tree 68 files changed

+570

-503

lines changed

Filter options

Expand file treeCollapse file tree 68 files changed

+570

-503

lines changed Original file line number Diff line number Diff line change

@@ -47,12 +47,13 @@ _RUNTIME_SOURCES = [

47 47

"src/Google/Protobuf/Internal/MessageBuilderContext.php",

48 48

"src/Google/Protobuf/Internal/OneofDescriptor.php",

49 49

"src/Google/Protobuf/Internal/OneofField.php",

50 -

"src/Google/Protobuf/PrintOptions.php",

51 50

"src/Google/Protobuf/Internal/RawInputStream.php",

52 51

"src/Google/Protobuf/Internal/RepeatedField.php",

53 52

"src/Google/Protobuf/Internal/RepeatedFieldIter.php",

54 53

"src/Google/Protobuf/Internal/TimestampBase.php",

55 54

"src/Google/Protobuf/OneofDescriptor.php",

55 +

"src/Google/Protobuf/PrintOptions.php",

56 +

"src/Google/Protobuf/RepeatedField.php",

56 57

]

57 58 58 59

filegroup(

Original file line number Diff line number Diff line change

@@ -646,7 +646,7 @@ void Array_ModuleInit() {

646 646

zend_object_handlers* h;

647 647 648 648

// RepeatedField.

649 -

INIT_CLASS_ENTRY(tmp_ce, "Google\\Protobuf\\Internal\\RepeatedField",

649 +

INIT_CLASS_ENTRY(tmp_ce, "Google\\Protobuf\\RepeatedField",

650 650

repeated_field_methods);

651 651 652 652

RepeatedField_class_entry = zend_register_internal_class(&tmp_ce);

@@ -663,6 +663,12 @@ void Array_ModuleInit() {

663 663

h->get_properties = RepeatedField_GetProperties;

664 664

h->get_property_ptr_ptr = RepeatedField_GetPropertyPtrPtr;

665 665 666 +

// RepeatedField alias (for backwards compatibility).

667 +

zend_register_class_alias_ex(

668 +

"Google\\Protobuf\\Internal\\RepeatedField",

669 +

strlen("Google\\Protobuf\\Internal\\RepeatedField"),

670 +

RepeatedField_class_entry, true);

671 + 666 672

// RepeatedFieldIter

667 673

INIT_CLASS_ENTRY(tmp_ce, "Google\\Protobuf\\Internal\\RepeatedFieldIter",

668 674

repeated_field_iter_methods);

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4