diff options
Diffstat (limited to 'examples/log/log.tm')
| -rw-r--r-- | examples/log/log.tm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/log/log.tm b/examples/log/log.tm index 42df072c..f537b850 100644 --- a/examples/log/log.tm +++ b/examples/log/log.tm @@ -5,7 +5,7 @@ timestamp_format := CString("%F %T") logfiles := {:Path} -func _timestamp()->Text: +func _timestamp(->Text): c_str := inline C:CString { char *str = GC_MALLOC_ATOMIC(20); time_t t; time(&t); |
