ADD: added new version of protobuf
This commit is contained in:
@@ -34,11 +34,9 @@
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
// Disable clang-format for the macros.
|
||||
// clang-format off
|
||||
|
||||
//%PDDM-EXPAND DECLARE_ARRAYS()
|
||||
// This block of code is generated, do not edit it directly.
|
||||
// clang-format off
|
||||
|
||||
#pragma mark - Int32
|
||||
|
||||
@@ -137,8 +135,7 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
* **idx**: The index of the current value.
|
||||
* **stop**: A pointer to a boolean that when set stops the enumeration.
|
||||
**/
|
||||
- (void)enumerateValuesWithBlock:(void (NS_NOESCAPE ^)(int32_t value, NSUInteger idx,
|
||||
BOOL *stop))block;
|
||||
- (void)enumerateValuesWithBlock:(void (NS_NOESCAPE ^)(int32_t value, NSUInteger idx, BOOL *stop))block;
|
||||
|
||||
/**
|
||||
* Enumerates the values on this array with the given block.
|
||||
@@ -150,8 +147,7 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
* **stop**: A pointer to a boolean that when set stops the enumeration.
|
||||
**/
|
||||
- (void)enumerateValuesWithOptions:(NSEnumerationOptions)opts
|
||||
usingBlock:(void (NS_NOESCAPE ^)(int32_t value, NSUInteger idx,
|
||||
BOOL *stop))block;
|
||||
usingBlock:(void (NS_NOESCAPE ^)(int32_t value, NSUInteger idx, BOOL *stop))block;
|
||||
|
||||
/**
|
||||
* Adds a value to this array.
|
||||
@@ -311,8 +307,7 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
* **idx**: The index of the current value.
|
||||
* **stop**: A pointer to a boolean that when set stops the enumeration.
|
||||
**/
|
||||
- (void)enumerateValuesWithBlock:(void (NS_NOESCAPE ^)(uint32_t value, NSUInteger idx,
|
||||
BOOL *stop))block;
|
||||
- (void)enumerateValuesWithBlock:(void (NS_NOESCAPE ^)(uint32_t value, NSUInteger idx, BOOL *stop))block;
|
||||
|
||||
/**
|
||||
* Enumerates the values on this array with the given block.
|
||||
@@ -324,8 +319,7 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
* **stop**: A pointer to a boolean that when set stops the enumeration.
|
||||
**/
|
||||
- (void)enumerateValuesWithOptions:(NSEnumerationOptions)opts
|
||||
usingBlock:(void (NS_NOESCAPE ^)(uint32_t value, NSUInteger idx,
|
||||
BOOL *stop))block;
|
||||
usingBlock:(void (NS_NOESCAPE ^)(uint32_t value, NSUInteger idx, BOOL *stop))block;
|
||||
|
||||
/**
|
||||
* Adds a value to this array.
|
||||
@@ -485,8 +479,7 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
* **idx**: The index of the current value.
|
||||
* **stop**: A pointer to a boolean that when set stops the enumeration.
|
||||
**/
|
||||
- (void)enumerateValuesWithBlock:(void (NS_NOESCAPE ^)(int64_t value, NSUInteger idx,
|
||||
BOOL *stop))block;
|
||||
- (void)enumerateValuesWithBlock:(void (NS_NOESCAPE ^)(int64_t value, NSUInteger idx, BOOL *stop))block;
|
||||
|
||||
/**
|
||||
* Enumerates the values on this array with the given block.
|
||||
@@ -498,8 +491,7 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
* **stop**: A pointer to a boolean that when set stops the enumeration.
|
||||
**/
|
||||
- (void)enumerateValuesWithOptions:(NSEnumerationOptions)opts
|
||||
usingBlock:(void (NS_NOESCAPE ^)(int64_t value, NSUInteger idx,
|
||||
BOOL *stop))block;
|
||||
usingBlock:(void (NS_NOESCAPE ^)(int64_t value, NSUInteger idx, BOOL *stop))block;
|
||||
|
||||
/**
|
||||
* Adds a value to this array.
|
||||
@@ -659,8 +651,7 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
* **idx**: The index of the current value.
|
||||
* **stop**: A pointer to a boolean that when set stops the enumeration.
|
||||
**/
|
||||
- (void)enumerateValuesWithBlock:(void (NS_NOESCAPE ^)(uint64_t value, NSUInteger idx,
|
||||
BOOL *stop))block;
|
||||
- (void)enumerateValuesWithBlock:(void (NS_NOESCAPE ^)(uint64_t value, NSUInteger idx, BOOL *stop))block;
|
||||
|
||||
/**
|
||||
* Enumerates the values on this array with the given block.
|
||||
@@ -672,8 +663,7 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
* **stop**: A pointer to a boolean that when set stops the enumeration.
|
||||
**/
|
||||
- (void)enumerateValuesWithOptions:(NSEnumerationOptions)opts
|
||||
usingBlock:(void (NS_NOESCAPE ^)(uint64_t value, NSUInteger idx,
|
||||
BOOL *stop))block;
|
||||
usingBlock:(void (NS_NOESCAPE ^)(uint64_t value, NSUInteger idx, BOOL *stop))block;
|
||||
|
||||
/**
|
||||
* Adds a value to this array.
|
||||
@@ -833,8 +823,7 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
* **idx**: The index of the current value.
|
||||
* **stop**: A pointer to a boolean that when set stops the enumeration.
|
||||
**/
|
||||
- (void)enumerateValuesWithBlock:(void (NS_NOESCAPE ^)(float value, NSUInteger idx,
|
||||
BOOL *stop))block;
|
||||
- (void)enumerateValuesWithBlock:(void (NS_NOESCAPE ^)(float value, NSUInteger idx, BOOL *stop))block;
|
||||
|
||||
/**
|
||||
* Enumerates the values on this array with the given block.
|
||||
@@ -846,8 +835,7 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
* **stop**: A pointer to a boolean that when set stops the enumeration.
|
||||
**/
|
||||
- (void)enumerateValuesWithOptions:(NSEnumerationOptions)opts
|
||||
usingBlock:(void (NS_NOESCAPE ^)(float value, NSUInteger idx,
|
||||
BOOL *stop))block;
|
||||
usingBlock:(void (NS_NOESCAPE ^)(float value, NSUInteger idx, BOOL *stop))block;
|
||||
|
||||
/**
|
||||
* Adds a value to this array.
|
||||
@@ -1007,8 +995,7 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
* **idx**: The index of the current value.
|
||||
* **stop**: A pointer to a boolean that when set stops the enumeration.
|
||||
**/
|
||||
- (void)enumerateValuesWithBlock:(void (NS_NOESCAPE ^)(double value, NSUInteger idx,
|
||||
BOOL *stop))block;
|
||||
- (void)enumerateValuesWithBlock:(void (NS_NOESCAPE ^)(double value, NSUInteger idx, BOOL *stop))block;
|
||||
|
||||
/**
|
||||
* Enumerates the values on this array with the given block.
|
||||
@@ -1020,8 +1007,7 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
* **stop**: A pointer to a boolean that when set stops the enumeration.
|
||||
**/
|
||||
- (void)enumerateValuesWithOptions:(NSEnumerationOptions)opts
|
||||
usingBlock:(void (NS_NOESCAPE ^)(double value, NSUInteger idx,
|
||||
BOOL *stop))block;
|
||||
usingBlock:(void (NS_NOESCAPE ^)(double value, NSUInteger idx, BOOL *stop))block;
|
||||
|
||||
/**
|
||||
* Adds a value to this array.
|
||||
@@ -1181,8 +1167,7 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
* **idx**: The index of the current value.
|
||||
* **stop**: A pointer to a boolean that when set stops the enumeration.
|
||||
**/
|
||||
- (void)enumerateValuesWithBlock:(void (NS_NOESCAPE ^)(BOOL value, NSUInteger idx,
|
||||
BOOL *stop))block;
|
||||
- (void)enumerateValuesWithBlock:(void (NS_NOESCAPE ^)(BOOL value, NSUInteger idx, BOOL *stop))block;
|
||||
|
||||
/**
|
||||
* Enumerates the values on this array with the given block.
|
||||
@@ -1194,8 +1179,7 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
* **stop**: A pointer to a boolean that when set stops the enumeration.
|
||||
**/
|
||||
- (void)enumerateValuesWithOptions:(NSEnumerationOptions)opts
|
||||
usingBlock:(void (NS_NOESCAPE ^)(BOOL value, NSUInteger idx,
|
||||
BOOL *stop))block;
|
||||
usingBlock:(void (NS_NOESCAPE ^)(BOOL value, NSUInteger idx, BOOL *stop))block;
|
||||
|
||||
/**
|
||||
* Adds a value to this array.
|
||||
@@ -1386,8 +1370,7 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
* **idx**: The index of the current value.
|
||||
* **stop**: A pointer to a boolean that when set stops the enumeration.
|
||||
**/
|
||||
- (void)enumerateValuesWithBlock:(void (NS_NOESCAPE ^)(int32_t value, NSUInteger idx,
|
||||
BOOL *stop))block;
|
||||
- (void)enumerateValuesWithBlock:(void (NS_NOESCAPE ^)(int32_t value, NSUInteger idx, BOOL *stop))block;
|
||||
|
||||
/**
|
||||
* Enumerates the values on this array with the given block.
|
||||
@@ -1399,8 +1382,7 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
* **stop**: A pointer to a boolean that when set stops the enumeration.
|
||||
**/
|
||||
- (void)enumerateValuesWithOptions:(NSEnumerationOptions)opts
|
||||
usingBlock:(void (NS_NOESCAPE ^)(int32_t value, NSUInteger idx,
|
||||
BOOL *stop))block;
|
||||
usingBlock:(void (NS_NOESCAPE ^)(int32_t value, NSUInteger idx, BOOL *stop))block;
|
||||
|
||||
// These methods bypass the validationFunc to provide access to values that were not
|
||||
// known at the time the binary was compiled.
|
||||
@@ -1422,8 +1404,7 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
* **idx**: The index of the current value.
|
||||
* **stop**: A pointer to a boolean that when set stops the enumeration.
|
||||
**/
|
||||
- (void)enumerateRawValuesWithBlock:(void (NS_NOESCAPE ^)(int32_t value, NSUInteger idx,
|
||||
BOOL *stop))block;
|
||||
- (void)enumerateRawValuesWithBlock:(void (NS_NOESCAPE ^)(int32_t value, NSUInteger idx, BOOL *stop))block;
|
||||
|
||||
/**
|
||||
* Enumerates the values on this array with the given block.
|
||||
@@ -1435,8 +1416,7 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
* **stop**: A pointer to a boolean that when set stops the enumeration.
|
||||
**/
|
||||
- (void)enumerateRawValuesWithOptions:(NSEnumerationOptions)opts
|
||||
usingBlock:(void (NS_NOESCAPE ^)(int32_t value, NSUInteger idx,
|
||||
BOOL *stop))block;
|
||||
usingBlock:(void (NS_NOESCAPE ^)(int32_t value, NSUInteger idx, BOOL *stop))block;
|
||||
|
||||
// If value is not a valid enumerator as defined by validationFunc, these
|
||||
// methods will assert in debug, and will log in release and assign the value
|
||||
@@ -1556,6 +1536,7 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@end
|
||||
|
||||
// clang-format on
|
||||
//%PDDM-EXPAND-END DECLARE_ARRAYS()
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
@@ -1800,8 +1781,7 @@ NS_ASSUME_NONNULL_END
|
||||
//% * **idx**: The index of the current value.
|
||||
//% * **stop**: A pointer to a boolean that when set stops the enumeration.
|
||||
//% **/
|
||||
//%- (void)enumerateRawValuesWithBlock:(void (NS_NOESCAPE ^)(TYPE value, NSUInteger idx,
|
||||
//% BOOL *stop))block;
|
||||
//%- (void)enumerateRawValuesWithBlock:(void (NS_NOESCAPE ^)(TYPE value, NSUInteger idx, BOOL *stop))block;
|
||||
//%
|
||||
//%/**
|
||||
//% * Enumerates the values on this array with the given block.
|
||||
@@ -1813,8 +1793,7 @@ NS_ASSUME_NONNULL_END
|
||||
//% * **stop**: A pointer to a boolean that when set stops the enumeration.
|
||||
//% **/
|
||||
//%- (void)enumerateRawValuesWithOptions:(NSEnumerationOptions)opts
|
||||
//% usingBlock:(void (NS_NOESCAPE ^)(TYPE value, NSUInteger idx,
|
||||
//% BOOL *stop))block;
|
||||
//% usingBlock:(void (NS_NOESCAPE ^)(TYPE value, NSUInteger idx, BOOL *stop))block;
|
||||
//%
|
||||
//%// If value is not a valid enumerator as defined by validationFunc, these
|
||||
//%// methods will assert in debug, and will log in release and assign the value
|
||||
@@ -1844,8 +1823,7 @@ NS_ASSUME_NONNULL_END
|
||||
//% * **idx**: The index of the current value.
|
||||
//% * **stop**: A pointer to a boolean that when set stops the enumeration.
|
||||
//% **/
|
||||
//%- (void)enumerateValuesWithBlock:(void (NS_NOESCAPE ^)(TYPE value, NSUInteger idx,
|
||||
//% BOOL *stop))block;
|
||||
//%- (void)enumerateValuesWithBlock:(void (NS_NOESCAPE ^)(TYPE value, NSUInteger idx, BOOL *stop))block;
|
||||
//%
|
||||
//%/**
|
||||
//% * Enumerates the values on this array with the given block.
|
||||
@@ -1857,8 +1835,7 @@ NS_ASSUME_NONNULL_END
|
||||
//% * **stop**: A pointer to a boolean that when set stops the enumeration.
|
||||
//% **/
|
||||
//%- (void)enumerateValuesWithOptions:(NSEnumerationOptions)opts
|
||||
//% usingBlock:(void (NS_NOESCAPE ^)(TYPE value, NSUInteger idx,
|
||||
//% BOOL *stop))block;
|
||||
//% usingBlock:(void (NS_NOESCAPE ^)(TYPE value, NSUInteger idx, BOOL *stop))block;
|
||||
|
||||
//%PDDM-DEFINE ARRAY_MUTABLE_INTERFACE(NAME, TYPE, HELPER_NAME)
|
||||
//%/**
|
||||
@@ -1990,5 +1967,3 @@ NS_ASSUME_NONNULL_END
|
||||
//%
|
||||
//%// No validation applies to these methods.
|
||||
//%
|
||||
|
||||
// clang-format on
|
||||
|
||||
Reference in New Issue
Block a user