examples: rename Int::sleep from FFI examples to Int::sleep_seconds
authorAlexandre Terrasa <alexandre@moz-code.org>
Mon, 15 May 2017 23:16:11 +0000 (19:16 -0400)
committerAlexandre 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

index c91cdb7..7ffc026 100644 (file)
@@ -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);
        `}