nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
063fd33
)
examples: rename Int::sleep from FFI examples to Int::sleep_seconds
author
Alexandre Terrasa
<alexandre@moz-code.org>
Mon, 15 May 2017 23:16:11 +0000
(19:16 -0400)
committer
Alexandre Terrasa
<alexandre@moz-code.org>
Mon, 15 May 2017 23:16:11 +0000
(19:16 -0400)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
examples/extern_methods.nit
patch
|
blob
|
history
diff --git
a/examples/extern_methods.nit
b/examples/extern_methods.nit
index
c91cdb7
..
7ffc026
100644
(file)
--- a/
examples/extern_methods.nit
+++ b/
examples/extern_methods.nit
@@
-34,7
+34,7
@@
redef enum Int
# System call to sleep for `self` seconds
#
# You can use the FFI to access any system functions, sometimes it's extremely simple.
- fun sleep `{
+ fun sleep_seconds `{
sleep(self);
`}