Skip to content

Commit 39f3b02

Browse files
committed
Code clean up
1 parent 7357315 commit 39f3b02

4 files changed

Lines changed: 41 additions & 41 deletions

File tree

acinclude.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
dnl Checks for required headers and functions
22
dnl
3-
dnl Version: 20200711
3+
dnl Version: 20240413
44

55
dnl Function to detect if libfvalue dependencies are available
66
AC_DEFUN([AX_LIBFVALUE_CHECK_LOCAL],

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ AC_PREREQ([2.71])
22

33
AC_INIT(
44
[libfvalue],
5-
[20240415],
5+
[20240425],
66
[joachim.metz@gmail.com])
77

88
AC_CONFIG_SRCDIR(

include/libfvalue.h.in

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -943,7 +943,7 @@ int libfvalue_value_get_number_of_value_entries(
943943
int *number_of_value_entries,
944944
libfvalue_error_t **error );
945945

946-
/* Retrieves the entry data
946+
/* Retrieves entry data
947947
* Returns 1 if successful, 0 if the value has no data or -1 on error
948948
*/
949949
LIBFVALUE_EXTERN \
@@ -955,7 +955,7 @@ int libfvalue_value_get_entry_data(
955955
int *encoding,
956956
libfvalue_error_t **error );
957957

958-
/* Sets the entry data
958+
/* Sets entry data
959959
* Returns 1 if successful or -1 on error
960960
*/
961961
LIBFVALUE_EXTERN \
@@ -967,7 +967,7 @@ int libfvalue_value_set_entry_data(
967967
int encoding,
968968
libfvalue_error_t **error );
969969

970-
/* Appends the entry data
970+
/* Appends entry data
971971
* Returns 1 if successful or -1 on error
972972
*/
973973
LIBFVALUE_EXTERN \
@@ -990,7 +990,7 @@ int libfvalue_value_copy_from_boolean(
990990
libfvalue_error_t **error );
991991

992992
/* Copies the value data to a boolean value
993-
* Returns 1 if successful, 0 if value could not be set or -1 on error
993+
* Returns 1 if successful, 0 if size value not be retrieved or -1 on error
994994
*/
995995
LIBFVALUE_EXTERN \
996996
int libfvalue_value_copy_to_boolean(
@@ -1010,7 +1010,7 @@ int libfvalue_value_copy_from_8bit(
10101010
libfvalue_error_t **error );
10111011

10121012
/* Copies the value data to an 8-bit value
1013-
* Returns 1 if successful, 0 if value could not be set or -1 on error
1013+
* Returns 1 if successful, 0 if size value not be retrieved or -1 on error
10141014
*/
10151015
LIBFVALUE_EXTERN \
10161016
int libfvalue_value_copy_to_8bit(
@@ -1030,7 +1030,7 @@ int libfvalue_value_copy_from_16bit(
10301030
libfvalue_error_t **error );
10311031

10321032
/* Copies the value data to an 16-bit value
1033-
* Returns 1 if successful, 0 if value could not be set or -1 on error
1033+
* Returns 1 if successful, 0 if size value not be retrieved or -1 on error
10341034
*/
10351035
LIBFVALUE_EXTERN \
10361036
int libfvalue_value_copy_to_16bit(
@@ -1050,7 +1050,7 @@ int libfvalue_value_copy_from_32bit(
10501050
libfvalue_error_t **error );
10511051

10521052
/* Copies the value data to an 32-bit value
1053-
* Returns 1 if successful, 0 if value could not be set or -1 on error
1053+
* Returns 1 if successful, 0 if size value not be retrieved or -1 on error
10541054
*/
10551055
LIBFVALUE_EXTERN \
10561056
int libfvalue_value_copy_to_32bit(
@@ -1070,7 +1070,7 @@ int libfvalue_value_copy_from_64bit(
10701070
libfvalue_error_t **error );
10711071

10721072
/* Copies the value data to an 64-bit value
1073-
* Returns 1 if successful, 0 if value could not be set or -1 on error
1073+
* Returns 1 if successful, 0 if size value not be retrieved or -1 on error
10741074
*/
10751075
LIBFVALUE_EXTERN \
10761076
int libfvalue_value_copy_to_64bit(
@@ -1090,7 +1090,7 @@ int libfvalue_value_copy_from_float(
10901090
libfvalue_error_t **error );
10911091

10921092
/* Copies the value data to a float value
1093-
* Returns 1 if successful, 0 if value could not be set or -1 on error
1093+
* Returns 1 if successful, 0 if size value not be retrieved or -1 on error
10941094
*/
10951095
LIBFVALUE_EXTERN \
10961096
int libfvalue_value_copy_to_float(
@@ -1110,7 +1110,7 @@ int libfvalue_value_copy_from_double(
11101110
libfvalue_error_t **error );
11111111

11121112
/* Copies the value data to a double value
1113-
* Returns 1 if successful, 0 if value could not be set or -1 on error
1113+
* Returns 1 if successful, 0 if size value not be retrieved or -1 on error
11141114
*/
11151115
LIBFVALUE_EXTERN \
11161116
int libfvalue_value_copy_to_double(
@@ -1131,7 +1131,7 @@ int libfvalue_value_copy_from_utf8_string(
11311131
libfvalue_error_t **error );
11321132

11331133
/* Retrieves the size of an UTF-8 encoded string of the value data
1134-
* Returns 1 if successful, 0 if value could not be set or -1 on error
1134+
* Returns 1 if successful, 0 if size value not be retrieved or -1 on error
11351135
*/
11361136
LIBFVALUE_EXTERN \
11371137
int libfvalue_value_get_utf8_string_size(
@@ -1141,7 +1141,7 @@ int libfvalue_value_get_utf8_string_size(
11411141
libfvalue_error_t **error );
11421142

11431143
/* Copies the value data to an UTF-8 encoded string
1144-
* Returns 1 if successful, 0 if value could not be set or -1 on error
1144+
* Returns 1 if successful, 0 if size value not be retrieved or -1 on error
11451145
*/
11461146
LIBFVALUE_EXTERN \
11471147
int libfvalue_value_copy_to_utf8_string(
@@ -1152,7 +1152,7 @@ int libfvalue_value_copy_to_utf8_string(
11521152
libfvalue_error_t **error );
11531153

11541154
/* Copies the value data to an UTF-8 encoded string
1155-
* Returns 1 if successful, 0 if value could not be set or -1 on error
1155+
* Returns 1 if successful, 0 if size value not be retrieved or -1 on error
11561156
*/
11571157
LIBFVALUE_EXTERN \
11581158
int libfvalue_value_copy_to_utf8_string_with_index(
@@ -1175,7 +1175,7 @@ int libfvalue_value_copy_from_utf16_string(
11751175
libfvalue_error_t **error );
11761176

11771177
/* Retrieves the size of an UTF-16 encoded string of the value data
1178-
* Returns 1 if successful, 0 if value could not be set or -1 on error
1178+
* Returns 1 if successful, 0 if size value not be retrieved or -1 on error
11791179
*/
11801180
LIBFVALUE_EXTERN \
11811181
int libfvalue_value_get_utf16_string_size(
@@ -1185,7 +1185,7 @@ int libfvalue_value_get_utf16_string_size(
11851185
libfvalue_error_t **error );
11861186

11871187
/* Copies the value data to an UTF-16 encoded string
1188-
* Returns 1 if successful, 0 if value could not be set or -1 on error
1188+
* Returns 1 if successful, 0 if size value not be retrieved or -1 on error
11891189
*/
11901190
LIBFVALUE_EXTERN \
11911191
int libfvalue_value_copy_to_utf16_string(
@@ -1196,7 +1196,7 @@ int libfvalue_value_copy_to_utf16_string(
11961196
libfvalue_error_t **error );
11971197

11981198
/* Copies the value data to an UTF-16 encoded string
1199-
* Returns 1 if successful, 0 if value could not be set or -1 on error
1199+
* Returns 1 if successful, 0 if size value not be retrieved or -1 on error
12001200
*/
12011201
LIBFVALUE_EXTERN \
12021202
int libfvalue_value_copy_to_utf16_string_with_index(
@@ -1219,7 +1219,7 @@ int libfvalue_value_copy_from_utf32_string(
12191219
libfvalue_error_t **error );
12201220

12211221
/* Retrieves the size of an UTF-32 encoded string of the value data
1222-
* Returns 1 if successful, 0 if value could not be set or -1 on error
1222+
* Returns 1 if successful, 0 if size value not be retrieved or -1 on error
12231223
*/
12241224
LIBFVALUE_EXTERN \
12251225
int libfvalue_value_get_utf32_string_size(
@@ -1229,7 +1229,7 @@ int libfvalue_value_get_utf32_string_size(
12291229
libfvalue_error_t **error );
12301230

12311231
/* Copies the value data to an UTF-32 encoded string
1232-
* Returns 1 if successful, 0 if value could not be set or -1 on error
1232+
* Returns 1 if successful, 0 if size value not be retrieved or -1 on error
12331233
*/
12341234
LIBFVALUE_EXTERN \
12351235
int libfvalue_value_copy_to_utf32_string(
@@ -1240,7 +1240,7 @@ int libfvalue_value_copy_to_utf32_string(
12401240
libfvalue_error_t **error );
12411241

12421242
/* Copies the value data to an UTF-32 encoded string
1243-
* Returns 1 if successful, 0 if value could not be set or -1 on error
1243+
* Returns 1 if successful, 0 if size value not be retrieved or -1 on error
12441244
*/
12451245
LIBFVALUE_EXTERN \
12461246
int libfvalue_value_copy_to_utf32_string_with_index(

libfvalue/libfvalue_value.c

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2156,7 +2156,7 @@ int libfvalue_value_append_entry(
21562156
return( 1 );
21572157
}
21582158

2159-
/* Retrieves the entry data
2159+
/* Retrieves entry data
21602160
* Returns 1 if successful, 0 if the value has no data or -1 on error
21612161
*/
21622162
int libfvalue_value_get_entry_data(
@@ -2266,7 +2266,7 @@ int libfvalue_value_get_entry_data(
22662266
return( result );
22672267
}
22682268

2269-
/* Sets the entry data
2269+
/* Sets entry data
22702270
* Returns 1 if successful or -1 on error
22712271
*/
22722272
int libfvalue_value_set_entry_data(
@@ -2375,7 +2375,7 @@ int libfvalue_value_set_entry_data(
23752375
return( 1 );
23762376
}
23772377

2378-
/* Appends the entry data
2378+
/* Appends entry data
23792379
* Returns 1 if successful or -1 on error
23802380
*/
23812381
int libfvalue_value_append_entry_data(
@@ -2533,7 +2533,7 @@ int libfvalue_value_append_entry_data(
25332533
return( 1 );
25342534
}
25352535

2536-
/* Copies the entry data
2536+
/* Copies entry data
25372537
* Returns 1 if successful, 0 if the value has no data or -1 on error
25382538
*/
25392539
int libfvalue_value_copy_entry_data(
@@ -2731,7 +2731,7 @@ int libfvalue_value_copy_from_boolean(
27312731
}
27322732

27332733
/* Copies the value data to a boolean value
2734-
* Returns 1 if successful, 0 if value could not be set or -1 on error
2734+
* Returns 1 if successful, 0 if size value not be retrieved or -1 on error
27352735
*/
27362736
int libfvalue_value_copy_to_boolean(
27372737
libfvalue_value_t *value,
@@ -2891,7 +2891,7 @@ int libfvalue_value_copy_from_8bit(
28912891
}
28922892

28932893
/* Copies the value data to an 8-bit value
2894-
* Returns 1 if successful, 0 if value could not be set or -1 on error
2894+
* Returns 1 if successful, 0 if size value not be retrieved or -1 on error
28952895
*/
28962896
int libfvalue_value_copy_to_8bit(
28972897
libfvalue_value_t *value,
@@ -3053,7 +3053,7 @@ int libfvalue_value_copy_from_16bit(
30533053
}
30543054

30553055
/* Copies the value data to a 16-bit value
3056-
* Returns 1 if successful, 0 if value could not be set or -1 on error
3056+
* Returns 1 if successful, 0 if size value not be retrieved or -1 on error
30573057
*/
30583058
int libfvalue_value_copy_to_16bit(
30593059
libfvalue_value_t *value,
@@ -3215,7 +3215,7 @@ int libfvalue_value_copy_from_32bit(
32153215
}
32163216

32173217
/* Copies the value data to a 32-bit value
3218-
* Returns 1 if successful, 0 if value could not be set or -1 on error
3218+
* Returns 1 if successful, 0 if size value not be retrieved or -1 on error
32193219
*/
32203220
int libfvalue_value_copy_to_32bit(
32213221
libfvalue_value_t *value,
@@ -3377,7 +3377,7 @@ int libfvalue_value_copy_from_64bit(
33773377
}
33783378

33793379
/* Copies the value data to a 64-bit value
3380-
* Returns 1 if successful, 0 if value could not be set or -1 on error
3380+
* Returns 1 if successful, 0 if size value not be retrieved or -1 on error
33813381
*/
33823382
int libfvalue_value_copy_to_64bit(
33833383
libfvalue_value_t *value,
@@ -3531,7 +3531,7 @@ int libfvalue_value_copy_from_float(
35313531
}
35323532

35333533
/* Copies the value data to a float value
3534-
* Returns 1 if successful, 0 if value could not be set or -1 on error
3534+
* Returns 1 if successful, 0 if size value not be retrieved or -1 on error
35353535
*/
35363536
int libfvalue_value_copy_to_float(
35373537
libfvalue_value_t *value,
@@ -3682,7 +3682,7 @@ int libfvalue_value_copy_from_double(
36823682
}
36833683

36843684
/* Copies the value data to a double value
3685-
* Returns 1 if successful, 0 if value could not be set or -1 on error
3685+
* Returns 1 if successful, 0 if size value not be retrieved or -1 on error
36863686
*/
36873687
int libfvalue_value_copy_to_double(
36883688
libfvalue_value_t *value,
@@ -3895,7 +3895,7 @@ int libfvalue_value_copy_from_utf8_string(
38953895
}
38963896

38973897
/* Retrieves the size of an UTF-8 encoded string of the value data
3898-
* Returns 1 if successful, 0 if value could not be set or -1 on error
3898+
* Returns 1 if successful, 0 if size value not be retrieved or -1 on error
38993899
*/
39003900
int libfvalue_value_get_utf8_string_size(
39013901
libfvalue_value_t *value,
@@ -3963,7 +3963,7 @@ int libfvalue_value_get_utf8_string_size(
39633963
}
39643964

39653965
/* Copies the value data to an UTF-8 encoded string
3966-
* Returns 1 if successful, 0 if value could not be set or -1 on error
3966+
* Returns 1 if successful, 0 if size value not be retrieved or -1 on error
39673967
*/
39683968
int libfvalue_value_copy_to_utf8_string(
39693969
libfvalue_value_t *value,
@@ -4000,7 +4000,7 @@ int libfvalue_value_copy_to_utf8_string(
40004000
}
40014001

40024002
/* Copies the value data to an UTF-8 encoded string
4003-
* Returns 1 if successful, 0 if value could not be set or -1 on error
4003+
* Returns 1 if successful, 0 if size value not be retrieved or -1 on error
40044004
*/
40054005
int libfvalue_value_copy_to_utf8_string_with_index(
40064006
libfvalue_value_t *value,
@@ -4199,7 +4199,7 @@ int libfvalue_value_copy_from_utf16_string(
41994199
}
42004200

42014201
/* Retrieves the size of an UTF-16 encoded string of the value data
4202-
* Returns 1 if successful, 0 if value could not be set or -1 on error
4202+
* Returns 1 if successful, 0 if size value not be retrieved or -1 on error
42034203
*/
42044204
int libfvalue_value_get_utf16_string_size(
42054205
libfvalue_value_t *value,
@@ -4267,7 +4267,7 @@ int libfvalue_value_get_utf16_string_size(
42674267
}
42684268

42694269
/* Copies the value data to an UTF-16 encoded string
4270-
* Returns 1 if successful, 0 if value could not be set or -1 on error
4270+
* Returns 1 if successful, 0 if size value not be retrieved or -1 on error
42714271
*/
42724272
int libfvalue_value_copy_to_utf16_string(
42734273
libfvalue_value_t *value,
@@ -4304,7 +4304,7 @@ int libfvalue_value_copy_to_utf16_string(
43044304
}
43054305

43064306
/* Copies the value data to an UTF-16 encoded string
4307-
* Returns 1 if successful, 0 if value could not be set or -1 on error
4307+
* Returns 1 if successful, 0 if size value not be retrieved or -1 on error
43084308
*/
43094309
int libfvalue_value_copy_to_utf16_string_with_index(
43104310
libfvalue_value_t *value,
@@ -4505,7 +4505,7 @@ int libfvalue_value_copy_from_utf32_string(
45054505
}
45064506

45074507
/* Retrieves the size of an UTF-32 encoded string of the value data
4508-
* Returns 1 if successful, 0 if value could not be set or -1 on error
4508+
* Returns 1 if successful, 0 if size value not be retrieved or -1 on error
45094509
*/
45104510
int libfvalue_value_get_utf32_string_size(
45114511
libfvalue_value_t *value,
@@ -4573,7 +4573,7 @@ int libfvalue_value_get_utf32_string_size(
45734573
}
45744574

45754575
/* Copies the value data to an UTF-32 encoded string
4576-
* Returns 1 if successful, 0 if value could not be set or -1 on error
4576+
* Returns 1 if successful, 0 if size value not be retrieved or -1 on error
45774577
*/
45784578
int libfvalue_value_copy_to_utf32_string(
45794579
libfvalue_value_t *value,
@@ -4610,7 +4610,7 @@ int libfvalue_value_copy_to_utf32_string(
46104610
}
46114611

46124612
/* Copies the value data to an UTF-32 encoded string
4613-
* Returns 1 if successful, 0 if value could not be set or -1 on error
4613+
* Returns 1 if successful, 0 if size value not be retrieved or -1 on error
46144614
*/
46154615
int libfvalue_value_copy_to_utf32_string_with_index(
46164616
libfvalue_value_t *value,

0 commit comments

Comments
 (0)