diff options
Diffstat (limited to 'compile.c')
-rw-r--r-- | compile.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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); } + |