aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCamil Staps2015-07-07 23:22:29 +0200
committerCamil Staps2015-07-07 23:22:29 +0200
commitd9261791433663b27553b3a7ac609f99b6fa3a89 (patch)
tree6075e4cbd5119e9ecce929ce17ee969b1070cc68
parentCopyright / license (diff)
Update docs
-rw-r--r--compile.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/compile.c b/compile.c
index 2295f20..5e8f167 100644
--- a/compile.c
+++ b/compile.c
@@ -34,13 +34,13 @@
/**
* Compile a Clean module in a path
*
- * This may fail (hard) when out of memory or when clm fails
+ * This may fail (hard) when out of memory
* clm should be in $PATH
*
* @param CleanString path the path
* @param CleanString module the module
*
- * @return void
+ * @return int the result of clm
*/
int64_t compile(CleanString path, CleanString module) {
char* pathchars, * modulechars;
@@ -113,3 +113,4 @@ void run(CleanString executable) {
strcat(execchars, " -nt");
system(execchars);
}
+