]> granicus.if.org Git - yasm/commitdiff
Add prototype for yasm_dv_get_value().
authorPeter Johnson <peter@tortall.net>
Wed, 18 Aug 2010 06:21:34 +0000 (06:21 -0000)
committerPeter Johnson <peter@tortall.net>
Wed, 18 Aug 2010 06:21:34 +0000 (06:21 -0000)
svn path=/trunk/yasm/; revision=2363

libyasm/bytecode.h

index d5a9899544ba0b4b40c6b2fa81b7b2042b4f6964..0753ccf5bdfd04125f8f6b7013250d6081af1a78 100644 (file)
@@ -575,6 +575,12 @@ yasm_dataval *yasm_dv_create_reserve(void);
                                                        (unsigned long)(l))
 #endif
 
+/** Get the underlying value of a data value.
+ * \param dv    data value
+ * \return Value, or null if non-value (e.g. string or raw).
+ */
+yasm_value *yasm_dv_get_value(yasm_dataval *dv);
+
 /** Set multiple field of a data value.
  * A data value can be repeated a number of times when output.  This function
  * sets that multiple.