[svn:parrot] r37818 - in trunk: src t/codingstd

coke at svn.parrot.org coke at svn.parrot.org
Mon Mar 30 13:57:47 UTC 2009


Author: coke
Date: Mon Mar 30 13:57:46 2009
New Revision: 37818
URL: https://trac.parrot.org/parrot/changeset/37818

Log:
[t/docs] fix function signatures, file now passes

Modified:
   trunk/src/longopt.c
   trunk/t/codingstd/c_function_docs.t

Modified: trunk/src/longopt.c
==============================================================================
--- trunk/src/longopt.c	Mon Mar 30 13:35:03 2009	(r37817)
+++ trunk/src/longopt.c	Mon Mar 30 13:57:46 2009	(r37818)
@@ -65,7 +65,8 @@
 
 /*
 
-=item C<int longopt_get>
+=item C<int longopt_get(PARROT_INTERP, int argc, const char* argv[],
+const struct longopt_opt_decl options[], struct longopt_opt_info* info_buf)>
 
 Gets long or short options, specified in C<options[]> (see
 F<docs/dev/longopt.dev>).
@@ -119,7 +120,9 @@
 
 /*
 
-=item C<static int longopt_get_longopt>
+=item C<static int longopt_get_longopt(PARROT_INTERP, int argc,
+const char* argv[], const struct longopt_opt_decl options[],
+struct longopt_opt_info* info_buf)>
 
 Find the option identifier of a long option.
 
@@ -213,7 +216,9 @@
 
 /*
 
-=item C<static int longopt_get_shortopt>
+=item C<static int longopt_get_shortopt(PARROT_INTERP, int argc,
+const char* argv[], const struct longopt_opt_decl options[],
+struct longopt_opt_info* info_buf)>
 
 Find the option identifier of the next short option.
 

Modified: trunk/t/codingstd/c_function_docs.t
==============================================================================
--- trunk/t/codingstd/c_function_docs.t	Mon Mar 30 13:35:03 2009	(r37817)
+++ trunk/t/codingstd/c_function_docs.t	Mon Mar 30 13:57:46 2009	(r37818)
@@ -214,7 +214,6 @@
 src/key.c
 src/library.c
 src/list.c
-src/longopt.c
 src/malloc-trace.c
 src/misc.c
 src/multidispatch.c


More information about the parrot-commits mailing list