[svn:parrot] r46940 - trunk/src
mikehh at svn.parrot.org
mikehh at svn.parrot.org
Mon May 24 03:58:57 UTC 2010
Author: mikehh
Date: Mon May 24 03:58:57 2010
New Revision: 46940
URL: https://trac.parrot.org/parrot/changeset/46940
Log:
fix codetest failure - missing docs and ASSERT_ARGS
Modified:
trunk/src/longopt.c
Modified: trunk/src/longopt.c
==============================================================================
--- trunk/src/longopt.c Mon May 24 03:31:46 2010 (r46939)
+++ trunk/src/longopt.c Mon May 24 03:58:57 2010 (r46940)
@@ -62,6 +62,15 @@
static char longopt_error_buffer[512];
+/*
+
+=item C<const struct longopt_opt_decl * Parrot_cmd_options(void)>
+
+Set up the const struct declaration for cmd_options
+
+=cut
+
+*/
PARROT_EXPORT
PARROT_CANNOT_RETURN_NULL
@@ -69,6 +78,7 @@
const struct longopt_opt_decl *
Parrot_cmd_options(void)
{
+ ASSERT_ARGS(Parrot_cmd_options)
static const struct longopt_opt_decl cmd_options[] = {
{ '.', '.', (OPTION_flags)0, { "--wait" } },
{ 'D', 'D', OPTION_optional_FLAG, { "--parrot-debug" } },
More information about the parrot-commits
mailing list