git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
C++: rename file purescript_gc.hh to purescript_memory.hh
feae6c0Andy Arvanitis
pcc/Make.hs+1−1
@@ -121,7 +121,7 @@ buildMakeActions outputDir filePathMap usePrefix =
121 when (not supportFilesExist) $ do
121 when (not supportFilesExist) $ do
122 writeTextFile (supportDir </> "PureScript.hh") $ B.unpack $(embedFile "pcc/include/purescript.hh")
122 writeTextFile (supportDir </> "PureScript.hh") $ B.unpack $(embedFile "pcc/include/purescript.hh")
123 writeTextFile (supportDir </> "PureScript.cc") $ B.unpack $(embedFile "pcc/include/purescript.cc")
123 writeTextFile (supportDir </> "PureScript.cc") $ B.unpack $(embedFile "pcc/include/purescript.cc")
124− writeTextFile (supportDir </> "PureScript_GC.hh") $ B.unpack $(embedFile "pcc/include/purescript_gc.hh")
124+ writeTextFile (supportDir </> "purescript_memory.hh") $ B.unpack $(embedFile "pcc/include/purescript_memory.hh")
125
125
126 let inputPath = dropExtension $ getInputFile mn
126 let inputPath = dropExtension $ getInputFile mn
127 hfile = addExtension inputPath "hh"
127 hfile = addExtension inputPath "hh"
pcc/include/purescript.hh+1−1
@@ -32,7 +32,7 @@
32#include <utility>
32#include <utility>
33#include <stdexcept>
33#include <stdexcept>
34#include <iso646.h> // mostly for MS Visual Studio compiler
34#include <iso646.h> // mostly for MS Visual Studio compiler
35−#include "PureScript_GC.hh"
35+#include "purescript_memory.hh"
36
36
37namespace PureScript {
37namespace PureScript {
38
38
pcc/include/purescript_gc.hh → pcc/include/purescript_memory.hhrenamed+4−4
@@ -1,6 +1,6 @@
1///////////////////////////////////////////////////////////////////////////////
1///////////////////////////////////////////////////////////////////////////////
2//
2//
3−// Module : purescript.hh
3+// Module : purescript_memory.hh
4// Copyright : (c) Andy Arvanitis 2016
4// Copyright : (c) Andy Arvanitis 2016
5// License : MIT
5// License : MIT
6//
6//
@@ -12,8 +12,8 @@
12//
12//
13///////////////////////////////////////////////////////////////////////////////
13///////////////////////////////////////////////////////////////////////////////
14//
14//
15−#ifndef PureScript_GC_HH
15+#ifndef PureScript_MEMORY_HH
16−#define PureScript_GC_HH
16+#define PureScript_MEMORY_HH
17
17
18#if defined(USE_GC)
18#if defined(USE_GC)
19 #define GC_THREADS
19 #define GC_THREADS
@@ -56,4 +56,4 @@ namespace PureScript {
56#undef MAKE_MANAGED
56#undef MAKE_MANAGED
57#undef MAKE_MANAGED_FINALIZED
57#undef MAKE_MANAGED_FINALIZED
58
58
59−#endif // PureScript_GC_HH
59+#endif // PureScript_MEMORY_HH