projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add missing declaration of ssize_t as unsigned long for SWIG
[babeltrace.git]
/
lib
/
trace-handle.c
diff --git
a/lib/trace-handle.c
b/lib/trace-handle.c
index 0da565b02000e230eb9322dbc34bc3dffe5c0f5e..d5b906aa961f5639b51f9a7c9114a19c28f58f3a 100644
(file)
--- a/
lib/trace-handle.c
+++ b/
lib/trace-handle.c
@@
-49,18
+49,9
@@
struct bt_trace_handle *bt_trace_handle_create(struct bt_context *ctx)
void bt_trace_handle_destroy(struct bt_trace_handle *th)
{
void bt_trace_handle_destroy(struct bt_trace_handle *th)
{
- th->format->close_trace(th->td);
g_free(th);
}
g_free(th);
}
-int bt_trace_handle_get_id(struct bt_trace_handle *th)
-{
- if (!th)
- return -1;
-
- return th->id;
-}
-
const char *bt_trace_handle_get_path(struct bt_context *ctx, int handle_id)
{
struct bt_trace_handle *handle;
const char *bt_trace_handle_get_path(struct bt_context *ctx, int handle_id)
{
struct bt_trace_handle *handle;
This page took
0.024467 seconds
and
4
git commands to generate.