[svn:parrot] r44164 - in trunk: config/gen/platform/generic t/codingstd

mikehh at svn.parrot.org mikehh at svn.parrot.org
Fri Feb 19 11:23:53 UTC 2010


Author: mikehh
Date: Fri Feb 19 11:23:51 2010
New Revision: 44164
URL: https://trac.parrot.org/parrot/changeset/44164

Log:
correct C function docs and add documentation

Modified:
   trunk/config/gen/platform/generic/env.c
   trunk/t/codingstd/c_function_docs.t

Modified: trunk/config/gen/platform/generic/env.c
==============================================================================
--- trunk/config/gen/platform/generic/env.c	Fri Feb 19 06:46:18 2010	(r44163)
+++ trunk/config/gen/platform/generic/env.c	Fri Feb 19 11:23:51 2010	(r44164)
@@ -1,6 +1,6 @@
 /*
  * $Id$
- * Copyright (C) 2004-2006, Parrot Foundation.
+ * Copyright (C) 2004-2010, Parrot Foundation.
  */
 
 /*
@@ -26,7 +26,9 @@
 
 /*
 
-=item C<void Parrot_setenv(const char *name, const char *value)>
+=item C<void Parrot_setenv(PARROT_INTERP, STRING *str_name, STRING *str_value)>
+
+Set up Environment vars
 
 =cut
 
@@ -61,7 +63,9 @@
 
 /*
 
-=item C<void Parrot_unsetenv(const char *name)>
+=item C<void Parrot_unsetenv(PARROT_INTERP, STRING *str_name)>
+
+UnSet Environment vars
 
 =cut
 
@@ -81,7 +85,9 @@
 
 /*
 
-=item C<char * Parrot_getenv(const char *name, int *free_it)>
+=item C<char * Parrot_getenv(PARROT_INTERP, STRING *str_name)>
+
+Get Environment vars
 
 =cut
 

Modified: trunk/t/codingstd/c_function_docs.t
==============================================================================
--- trunk/t/codingstd/c_function_docs.t	Fri Feb 19 06:46:18 2010	(r44163)
+++ trunk/t/codingstd/c_function_docs.t	Fri Feb 19 11:23:51 2010	(r44164)
@@ -1,5 +1,5 @@
 #! perl
-# Copyright (C) 2006-2009, Parrot Foundation.
+# Copyright (C) 2006-2010, Parrot Foundation.
 # $Id$
 
 use strict;
@@ -105,7 +105,6 @@
 config/gen/platform/darwin/dl.c
 config/gen/platform/darwin/memalign.c
 config/gen/platform/generic/dl.c
-config/gen/platform/generic/env.c
 config/gen/platform/generic/exec.c
 config/gen/platform/generic/math.c
 config/gen/platform/generic/memalign.c


More information about the parrot-commits mailing list