You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucy.apache.org by "Marvin Humphrey (JIRA)" <ji...@apache.org> on 2009/08/17 03:06:14 UTC
[jira] Updated: (LUCY-15) Boilerplater::Type::VAList
[ https://issues.apache.org/jira/browse/LUCY-15?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marvin Humphrey updated LUCY-15:
--------------------------------
Attachment: VAList.pm
106-va_list_type.t
parser_add_va_list_support.diff
So far, I've only got one use for the va_list type -- but when you need it, you
really need it.
{noformat}
/** Concatenate formatted arguments. Similar to the printf family, but
* only accepts minimal options (just enough for decent error messages).
*
* Objects: %o
* char*: %s
* integers: %i8 %i32 %i64 %u8 %u32 %u64
* floats: %f64
* hex: %x32
*
* Note that all Lucy Objects, including CharBufs, are printed via
* %o (which invokes To_String()).
*/
void
VCatF(CharBuf *self, const char *pattern, va_list args);
/** Invokes CB_VCatF to concatenate formatted arguments. Note that this
* is only a function and not a method.
*/
inert void
catf(CharBuf *self, const char *pattern, ...);
/** Replaces the contents of the CharBuf using formatted arguments.
*/
inert void
setf(CharBuf *self, const char *pattern, ...);
{noformat}
> Boilerplater::Type::VAList
> --------------------------
>
> Key: LUCY-15
> URL: https://issues.apache.org/jira/browse/LUCY-15
> Project: Lucy
> Issue Type: Sub-task
> Components: Boilerplater
> Reporter: Marvin Humphrey
> Assignee: Marvin Humphrey
> Attachments: 106-va_list_type.t, parser_add_va_list_support.diff, VAList.pm
>
>
> Add support for the va_list type from stdarg.h.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.