diff options
author | Peter Johnson <peter@tortall.net> | 2010-08-18 06:21:34 +0000 |
---|---|---|
committer | Peter Johnson <peter@tortall.net> | 2010-08-18 06:21:34 +0000 |
commit | 50017b49af0b83359912bac0aa092a821e563b0a (patch) | |
tree | dd0f208cc2172e2af2c2816d03ef3a3ce4f49b79 /libyasm | |
parent | 72df1b52a25e8b4d6853ffe5a724921443413dee (diff) | |
download | yasm-50017b49af0b83359912bac0aa092a821e563b0a.tar.gz |
Add prototype for yasm_dv_get_value().
svn path=/trunk/yasm/; revision=2363
Diffstat (limited to 'libyasm')
-rw-r--r-- | libyasm/bytecode.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libyasm/bytecode.h b/libyasm/bytecode.h index d5a98995..0753ccf5 100644 --- a/libyasm/bytecode.h +++ b/libyasm/bytecode.h @@ -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. |