[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Libjit] [PATCH 2/3] Fix documentation of `jit_type_set_tagged_type'
From: |
Niklas Koep |
Subject: |
[Libjit] [PATCH 2/3] Fix documentation of `jit_type_set_tagged_type' |
Date: |
Sat, 22 Mar 2014 21:22:38 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 |
Signed-off-by: Niklas Koep <address@hidden>
---
jit/jit-type.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/jit/jit-type.c b/jit/jit-type.c
index 5cc3817..637312a 100644
--- a/jit/jit-type.c
+++ b/jit/jit-type.c
@@ -1270,10 +1270,11 @@ jit_type_t jit_type_get_tagged_type(jit_type_t type)
}
/*@
- * @deftypefun void jit_type_set_tagged_type (jit_type_t @var{type},
jit_type_t @var{underlying})
+ * @deftypefun void jit_type_set_tagged_type (jit_type_t @var{type},
jit_type_t @var{underlying}, int @var{incref})
* Set the type that underlies a tagged type. Ignored if @var{type}
* is not a tagged type. If @var{type} already has an underlying
- * type, then the original is freed.
+ * type, then the original is freed. The reference count on
@var{underlying}
+ * is incremented if @var{incref} is non-zero.
*
* This function is typically used to flesh out the body of a
* forward-declared type. The tag is used as a placeholder
--
1.9.1
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Libjit] [PATCH 2/3] Fix documentation of `jit_type_set_tagged_type',
Niklas Koep <=