projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: make values API const-correct
[babeltrace.git]
/
include
/
babeltrace
/
trace-ir
/
attributes-internal.h
diff --git
a/include/babeltrace/trace-ir/attributes-internal.h
b/include/babeltrace/trace-ir/attributes-internal.h
index 43c07c02f1b62a69dd7ed18026bffa0b88c8b0ab..a0d7d3586044da8d0c27c06a1188bcf855bbc37c 100644
(file)
--- a/
include/babeltrace/trace-ir/attributes-internal.h
+++ b/
include/babeltrace/trace-ir/attributes-internal.h
@@
-2,8
+2,6
@@
#define BABELTRACE_TRACE_IR_ATTRIBUTES_H
/*
#define BABELTRACE_TRACE_IR_ATTRIBUTES_H
/*
- * Babeltrace - Trace IR: Attributes internal
- *
* Copyright (c) 2015 EfficiOS Inc. and Linux Foundation
* Copyright (c) 2015 Philippe Proulx <pproulx@efficios.com>
*
* Copyright (c) 2015 EfficiOS Inc. and Linux Foundation
* Copyright (c) 2015 Philippe Proulx <pproulx@efficios.com>
*
@@
-35,33
+33,33
@@
extern "C" {
#include <babeltrace/values.h>
BT_HIDDEN
#include <babeltrace/values.h>
BT_HIDDEN
-struct bt_
private_
value *bt_attributes_create(void);
+struct bt_value *bt_attributes_create(void);
BT_HIDDEN
BT_HIDDEN
-void bt_attributes_destroy(struct bt_
private_
value *attr_obj);
+void bt_attributes_destroy(struct bt_value *attr_obj);
BT_HIDDEN
BT_HIDDEN
-int64_t bt_attributes_get_count(
struct bt_private
_value *attr_obj);
+int64_t bt_attributes_get_count(
const struct bt
_value *attr_obj);
BT_HIDDEN
BT_HIDDEN
-const char *bt_attributes_get_field_name(
struct bt_private
_value *attr_obj,
+const char *bt_attributes_get_field_name(
const struct bt
_value *attr_obj,
uint64_t index);
BT_HIDDEN
uint64_t index);
BT_HIDDEN
-struct bt_
private_
value *bt_attributes_borrow_field_value(
- struct bt_
private_
value *attr_obj,
+struct bt_value *bt_attributes_borrow_field_value(
+ struct bt_value *attr_obj,
uint64_t index);
BT_HIDDEN
uint64_t index);
BT_HIDDEN
-int bt_attributes_set_field_value(struct bt_
private_
value *attr_obj,
- const char *name, struct bt_
private_
value *value_obj);
+int bt_attributes_set_field_value(struct bt_value *attr_obj,
+ const char *name, struct bt_value *value_obj);
BT_HIDDEN
BT_HIDDEN
-struct bt_
private_
value *bt_attributes_borrow_field_value_by_name(
- struct bt_
private_
value *attr_obj, const char *name);
+struct bt_value *bt_attributes_borrow_field_value_by_name(
+ struct bt_value *attr_obj, const char *name);
BT_HIDDEN
BT_HIDDEN
-int bt_attributes_freeze(
struct bt_private
_value *attr_obj);
+int bt_attributes_freeze(
const struct bt
_value *attr_obj);
#ifdef __cplusplus
}
#ifdef __cplusplus
}
This page took
0.02409 seconds
and
4
git commands to generate.