libjit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Libjit] [PATCH 1/4] Fix mistake in example for `jit_value_create_nint_c


From: Niklas Koep
Subject: [Libjit] [PATCH 1/4] Fix mistake in example for `jit_value_create_nint_constant'
Date: Sat, 22 Mar 2014 21:24:13 +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-value.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/jit/jit-value.c b/jit/jit-value.c
index ec4bf9e..f3bae72 100644
--- a/jit/jit-value.c
+++ b/jit/jit-value.c
@@ -248,7 +248,7 @@ jit_value_t jit_value_create(jit_function_t func, jit_type_t type)
  * For example, the following will create an unsigned byte constant:
  *
  * @example
- * value = jit_value_create_nint_constant(context, jit_type_ubyte, 128);
+ * value = jit_value_create_nint_constant(func, jit_type_ubyte, 128);
  * @end example
  *
* This function can be used to create constants of type @code{jit_type_sbyte},
--
1.9.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]