Stream API: use status
[babeltrace.git] / lib / trace-ir / trace.c
index 7cf2f2c429bf0b5180be62123f60554c65508fe4..46380fd3309fd2465cf84e5747fdf8b1a7f060ca 100644 (file)
@@ -1,8 +1,7 @@
 /*
+ * Copyright 2017-2018 Philippe Proulx <pproulx@efficios.com>
  * Copyright 2014 Jérémie Galarneau <jeremie.galarneau@efficios.com>
  *
- * Author: Jérémie Galarneau <jeremie.galarneau@efficios.com>
- *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to deal
  * in the Software without restriction, including without limitation the rights
@@ -47,7 +46,6 @@
 #include <babeltrace/value.h>
 #include <babeltrace/value-const.h>
 #include <babeltrace/value-internal.h>
-#include <babeltrace/object.h>
 #include <babeltrace/types.h>
 #include <babeltrace/endian-internal.h>
 #include <babeltrace/assert-internal.h>
@@ -417,3 +415,13 @@ const struct bt_trace_class *bt_trace_borrow_class_const(
 {
        return bt_trace_borrow_class((void *) trace);
 }
+
+void bt_trace_get_ref(const struct bt_trace *trace)
+{
+       bt_object_get_ref(trace);
+}
+
+void bt_trace_put_ref(const struct bt_trace *trace)
+{
+       bt_object_put_ref(trace);
+}
This page took 0.023121 seconds and 4 git commands to generate.