projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove include of <babeltrace-internal.h> from public headers
[babeltrace.git]
/
lib
/
values.c
diff --git
a/lib/values.c
b/lib/values.c
index 65f53ebc9eace7942283b1a6a682d43acaeeda4c..ea69643e4dff8d5dde51687e7d7885051957cec2 100644
(file)
--- a/
lib/values.c
+++ b/
lib/values.c
@@
-566,7
+566,11
@@
bt_bool bt_value_is_frozen(const struct bt_value *object)
enum bt_value_type bt_value_get_type(const struct bt_value *object)
{
if (!object) {
enum bt_value_type bt_value_get_type(const struct bt_value *object)
{
if (!object) {
- BT_LOGW_STR("Invalid parameter: value object is NULL.");
+ /*
+ * Not an error: user can test NULL value object with
+ * this function.
+ */
+ BT_LOGV_STR("Value object is NULL.");
return BT_VALUE_TYPE_UNKNOWN;
}
return BT_VALUE_TYPE_UNKNOWN;
}
@@
-670,7
+674,7
@@
struct bt_value *bt_value_string_create_init(const char *val)
goto end;
}
goto end;
}
- BT_LOGD("Creating string value object: val-len=%
l
u", strlen(val));
+ BT_LOGD("Creating string value object: val-len=%
z
u", strlen(val));
string_obj = g_new0(struct bt_value_string, 1);
if (!string_obj) {
string_obj = g_new0(struct bt_value_string, 1);
if (!string_obj) {
This page took
0.026997 seconds
and
4
git commands to generate.