projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed creation/destroy of main window symmetry
[lttv.git]
/
ltt
/
branches
/
poly
/
lttv
/
lttv
/
traceset.c
diff --git
a/ltt/branches/poly/lttv/lttv/traceset.c
b/ltt/branches/poly/lttv/lttv/traceset.c
index aa5364881be925d777514635237c7905b0ac600d..568e67212eb5afb9e54a25a5f2b4169fad66c8f2 100644
(file)
--- a/
ltt/branches/poly/lttv/lttv/traceset.c
+++ b/
ltt/branches/poly/lttv/lttv/traceset.c
@@
-187,3
+187,19
@@
guint lttv_trace_get_ref_number(LttvTrace * t)
{
return t->ref_count;
}
+
+guint lttv_trace_ref(LttvTrace * t)
+{
+ t->ref_count++;
+
+ return t->ref_count;
+}
+
+guint lttv_trace_unref(LttvTrace * t)
+{
+ if(t->ref_count > 0)
+ t->ref_count--;
+
+ return t->ref_count;
+}
+
This page took
0.022637 seconds
and
4
git commands to generate.