CNF: Silence pointer fix-up message unless gc debugging is enabled
[ghc.git] / rts / GetEnv.h
1 /* -----------------------------------------------------------------------------
2 *
3 * (c) The GHC Team 2011
4 *
5 * OS-independent interface to the process environment variables
6 *
7 * ---------------------------------------------------------------------------*/
8
9 #pragma once
10
11 #include "BeginPrivate.h"
12
13 /* Get the process environment vector (same style interface as argc/argv)
14 */
15 void getProgEnvv (int *out_envc, char **out_envv[]);
16 void freeProgEnvv (int envc, char *envv[]);
17
18 /* calls to getProgEnvv must have a corresponding freeProgEnvv */
19
20 #include "EndPrivate.h"