[svn:parrot] r41610 - trunk/config/gen/platform/win32

mikehh at svn.parrot.org mikehh at svn.parrot.org
Fri Oct 2 06:38:11 UTC 2009


Author: mikehh
Date: Fri Oct  2 06:38:08 2009
New Revision: 41610
URL: https://trac.parrot.org/parrot/changeset/41610

Log:
codetest failure - fix documentation for function call changes

Modified:
   trunk/config/gen/platform/win32/env.c

Modified: trunk/config/gen/platform/win32/env.c
==============================================================================
--- trunk/config/gen/platform/win32/env.c	Fri Oct  2 04:37:30 2009	(r41609)
+++ trunk/config/gen/platform/win32/env.c	Fri Oct  2 06:38:08 2009	(r41610)
@@ -33,9 +33,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)>
 
-Sets the environment variable C<name> to the value C<value>. Creates the
+Sets the environment variable C<str_name> to the value C<str_value>. Creates the
 environment variable if it does not exist, and silently overwrite a variable if
 it does exist.
 
@@ -86,13 +86,11 @@
 
 /*
 
-=item C<char * Parrot_getenv(const char *name, int *free_it)>
+=item C<char * Parrot_getenv(PARROT_INTERP, STRING *str_name)>
 
-Gets the environment variable C<name>, if it exists. Returns status in
-C<free_it>. C<free_it> must be a non-null pointer to an integer to receive the
-status. Status code is 1 on success, 0 on failure. Returns the contents of the
-environment variable in a C<malloc>'d memory location that needs to be freed
-later.
+Gets the environment variable C<str_name>, if it exists. Returns the contents
+of the environment variable in a C<malloc>'d memory location that needs to be
+freed later.
 
 =cut
 
@@ -118,7 +116,7 @@
 
 /*
 
-=item C<void Parrot_unsetenv(const char *name)>
+=item C<void Parrot_unsetenv(PARROT_INTERP, STRING *name)>
 
 Deletes an environment variable by assigning an empty string to the specified variable.
 


More information about the parrot-commits mailing list