nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib: move `examples/lang*` to `lib/gettext/examples`
[nit.git]
/
examples
/
draw_operation.nit
diff --git
a/examples/draw_operation.nit
b/examples/draw_operation.nit
index
2db1595
..
a5ad1d5
100644
(file)
--- a/
examples/draw_operation.nit
+++ b/
examples/draw_operation.nit
@@
-17,6
+17,10
@@
# Draws an arithmetic operation to the terminal
module draw_operation
+`{
+ #include <math.h>
+`}
+
redef enum Int
fun n_chars: Int `{
int c;