summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Crayne <joe@jerkface.net>2019-03-23 21:24:45 -0400
committerJoe Crayne <joe@jerkface.net>2019-03-23 21:24:45 -0400
commit53bcb23e6a57fed66da8e3cd1a388ac6ab29cc4e (patch)
tree93f1b0be7a754e48bc60b0fcb14b0c02f1e07167
parentd5fd902d4e95c8e78cc658147499883d21218225 (diff)
Document fnArgs field of FunctionEnvironment.
-rw-r--r--monkeypatch.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/monkeypatch.hs b/monkeypatch.hs
index 0b115e3..f825868 100644
--- a/monkeypatch.hs
+++ b/monkeypatch.hs
@@ -822,6 +822,8 @@ symbolInformation = SymbolInformation
822data FunctionEnvironment = FunctionEnvironment 822data FunctionEnvironment = FunctionEnvironment
823 { fnExternals :: Map String (SymbolInformation [CExternalDeclaration NodeInfo]) 823 { fnExternals :: Map String (SymbolInformation [CExternalDeclaration NodeInfo])
824 , fnArgs :: Map String (HS.Type ()) 824 , fnArgs :: Map String (HS.Type ())
825 -- ^ Function name arguments and their type.
826 -- The return type is also stored here under the empty string key.
825 } 827 }
826 828
827data Transpile c = Transpile 829data Transpile c = Transpile