Rename fl_get_length to fl_value_get_length (flutter/engine#27757)

This commit is contained in:
Shax
2021-08-26 22:06:02 +02:00
committed by GitHub
parent 2f79b8ddca
commit 07e2ce8fd9

View File

@@ -465,8 +465,8 @@ size_t fl_value_get_length(FlValue* value);
* @value: an #FlValue of type #FL_VALUE_TYPE_UINT8_LIST.
*
* Gets the array of unisigned 8 bit integers @value contains. The data
* contains fl_get_length() elements. Calling this with an #FlValue that is
* not of type #FL_VALUE_TYPE_UINT8_LIST is a programming error.
* contains fl_value_get_length() elements. Calling this with an #FlValue that
* is not of type #FL_VALUE_TYPE_UINT8_LIST is a programming error.
*
* Returns: an array of unsigned 8 bit integers.
*/
@@ -477,7 +477,7 @@ const uint8_t* fl_value_get_uint8_list(FlValue* value);
* @value: an #FlValue of type #FL_VALUE_TYPE_INT32_LIST.
*
* Gets the array of 32 bit integers @value contains. The data contains
* fl_get_length() elements. Calling this with an #FlValue that is not of
* fl_value_get_length() elements. Calling this with an #FlValue that is not of
* type #FL_VALUE_TYPE_INT32_LIST is a programming error.
*
* Returns: an array of 32 bit integers.
@@ -489,7 +489,7 @@ const int32_t* fl_value_get_int32_list(FlValue* value);
* @value: an #FlValue of type #FL_VALUE_TYPE_INT64_LIST.
*
* Gets the array of 64 bit integers @value contains. The data contains
* fl_get_length() elements. Calling this with an #FlValue that is not of
* fl_value_get_length() elements. Calling this with an #FlValue that is not of
* type #FL_VALUE_TYPE_INT64_LIST is a programming error.
*
* Returns: an array of 64 bit integers.
@@ -501,8 +501,8 @@ const int64_t* fl_value_get_int64_list(FlValue* value);
* @value: an #FlValue of type #FL_VALUE_TYPE_FLOAT32_LIST.
*
* Gets the array of floating point numbers @value contains. The data
* contains fl_get_length() elements. Calling this with an #FlValue that is
* not of type #FL_VALUE_TYPE_FLOAT32_LIST is a programming error.
* contains fl_value_get_length() elements. Calling this with an #FlValue that
* is not of type #FL_VALUE_TYPE_FLOAT32_LIST is a programming error.
*
* Returns: an array of floating point numbers.
*/
@@ -513,8 +513,8 @@ const float* fl_value_get_float32_list(FlValue* value);
* @value: an #FlValue of type #FL_VALUE_TYPE_FLOAT_LIST.
*
* Gets the array of floating point numbers @value contains. The data
* contains fl_get_length() elements. Calling this with an #FlValue that is
* not of type #FL_VALUE_TYPE_FLOAT_LIST is a programming error.
* contains fl_value_get_length() elements. Calling this with an #FlValue that
* is not of type #FL_VALUE_TYPE_FLOAT_LIST is a programming error.
*
* Returns: an array of floating point numbers.
*/