Merge: Better synopses in many packages for a prettier catalog
authorJean Privat <jean@pryen.org>
Fri, 4 Sep 2015 03:33:24 +0000 (23:33 -0400)
committerJean Privat <jean@pryen.org>
Fri, 4 Sep 2015 03:33:24 +0000 (23:33 -0400)
This should fix/complete the synopses of my projects. The few cases left are where the doc is in the main module of a contrib without a readme, like with `header_keeper`. I'm not sure what to do with those yet, maybe simply removing the src folder.

I seizes this opportunity to improve the `extern_methods` example and create missing readme files. And also reorganized the mnit platform implementations. There is still similar work to do with apps and submodules names to clean in mnit, but it will be for a future PR.

Pull-Request: #1671
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>

41 files changed:
contrib/benitlux/README.md
contrib/crazy_moles/README.md [new file with mode: 0644]
contrib/github_search_for_jni/README.md [new file with mode: 0644]
contrib/inkscape_tools/README.md
contrib/jwrapper/README.md
contrib/pep8analysis/README.md
contrib/physical_interface_for_mpd_on_rpi/physical_interface_for_mpd_on_rpi.nit
contrib/rss_downloader/README.md
contrib/sort_downloads/README.md
contrib/tnitter/README.md
examples/calculator/README.md [new file with mode: 0644]
examples/draw_operation.nit
examples/extern_methods.nit
examples/mnit_dino/README.md [new file with mode: 0644]
lib/a_star.nit
lib/android/README.md
lib/app/README.md
lib/bcm2835/bcm2835.nit
lib/binary/binary.nit
lib/bucketed_game.nit
lib/c.nit
lib/cocoa/cocoa.nit
lib/cpp.nit
lib/curl/curl.nit
lib/egl.nit
lib/gpio.nit [deleted file]
lib/gtk/gtk.nit
lib/ios/ios.nit
lib/json/json.nit
lib/jvm.nit
lib/md5.nit
lib/mpd.nit
lib/noise.nit
lib/realtime.nit
lib/sdl.nit
lib/signals.nit
lib/x11.nit
tests/sav/test_c_alt1.res
tests/sav/test_c_alt2.res
tests/sav/test_c_alt3.res
tests/sav/test_c_alt4.res

index db4c127..6f4ce46 100644 (file)
@@ -1,4 +1,4 @@
-Benitlux is an unofficial mailing list to keep faithful bargoers informed of the current beer offer at the excellent Brasserie Bénélux <http://brasseriebenelux.com/>.
+An unofficial mailing list and other tools to keep faithful bargoers informed of the beers available at the excellent Brasserie Bénélux.
 
 This project is composed of two softwares:
 
diff --git a/contrib/crazy_moles/README.md b/contrib/crazy_moles/README.md
new file mode 100644 (file)
index 0000000..a4c7b2d
--- /dev/null
@@ -0,0 +1 @@
+Crazy Moles, a very simple portable whack-a-mole style game with particle effects!
diff --git a/contrib/github_search_for_jni/README.md b/contrib/github_search_for_jni/README.md
new file mode 100644 (file)
index 0000000..e934507
--- /dev/null
@@ -0,0 +1 @@
+Seach Github for repositories possibly using the JNI.
index c338656..f1dccff 100644 (file)
@@ -1,4 +1,4 @@
-# SVG to PNG and Nit
+# Tools to extract images from SVG files using Inkscape, either to create icons or game sprites
 
 This tool uses Inkscape to prepare assets for Nit applications from a single SVG file.
 It selects objects to extract from the SVG file when their id begins with `0`.
@@ -25,7 +25,3 @@ It will produce two files:
 The minimal test in `tests/app/` shows the basic usage of this tool.
 
 The Dino example `../../../../examples/mnit_dino` also uses this tool and is a more complete and practical example.
-
-# Authors
-
-Alexis Laferrière <alexis.laf@xymus.net>
index da33dd2..8cc1830 100644 (file)
@@ -1,4 +1,4 @@
-_jwrapper_, an extern class generator from Java class files
+Generator of Nit extern classes to wrap Java APIs.
 
 # Description
 _jwrapper_ automates wrapping Java classes so they can be accessed from Nit code. It generates Nit extern classes by analyzing Java class files.
index 216b878..6723296 100644 (file)
@@ -1,6 +1,4 @@
-# Pep/8 Analysis
-
-This project provides tools to statically analyze Pep/8 programs in order to detect bugs or bad programming practices.
+# Pep/8 Analysis, static checker to detect bugs and bad programming practices in Pep/8 programs
 
 For more information about the Pep/8 assembly language visit http://code.google.com/p/pep8-1/.
 
index 335444a..1c73e64 100644 (file)
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-# This programs interprets the input of a physical interface thought the
-# GPIO pins of a Raspberry Pi to control an MPD server.
+# Backend to a hardware interface to control an MPD server from a Raspberry Pi
 #
-# It suppot two inputs: a play/pause button and a rotary encoder to adjust
+# It supports two inputs: a play/pause button and a rotary encoder to adjust
 # the volume.
 #
 # The each data output of the volume control are connected to the board
index eddc63b..b3b85aa 100644 (file)
@@ -1,4 +1,4 @@
-This tool downloads files pointed by RSS feeds.
+A tool to download files listed in RSS feeds according to local folders.
 
 It fetches the content of the RSS feed, then filters it according to custom patterns and to existing folders on disk. Selected elements will be downloaded to the given folder.
 
index 00cb3e1..0a42ca2 100644 (file)
@@ -1,4 +1,4 @@
-# sort_downloads
+Script to sort content of a folder in many folders according to their names.
 
 This scripts sorts files from a given directory to subfolders in the destination directory. It uses directory names as patterns to sort the files and thus moves each file to a directory with a similar name. Multiple directories may be used to specify the patterns to look for, but the files will only be copied to subfolders in the target directory. This features ensures a clean support for a multi-disk system.
 
index 0eca29d..d2893ef 100644 (file)
@@ -1,4 +1,4 @@
-Tnitter is a Twitter-like micro-blogging platform
+Tnitter, a Twitter-like micro-blogging platform
 
 # Compile and execute
 
diff --git a/examples/calculator/README.md b/examples/calculator/README.md
new file mode 100644 (file)
index 0000000..9028013
--- /dev/null
@@ -0,0 +1,15 @@
+Portable calculator built using _app.nit_
+
+# Project structure
+
+* `calculator_logic` defines `CalculatorContext` with all the business logic of a calculator.
+  It takes as input operations and numbers, and outputs the text to display.
+* `calculator` implements the portable graphical interface using the _app.nit_ framework
+* `calculator_test` test `CalculatorContext` as a black box.
+
+# Usage
+
+1. Compile with a call to `make`.
+2. Run with either:
+       1. The desktop version, `bin/calculator`.
+       2. The Android version by install the APK at `bin/calculator.apk`.
index a5ad1d5..61f14eb 100644 (file)
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-# Draws an arithmetic operation to the terminal
+# Sample program which draws an arithmetic operation to the terminal
+#
+# Output (and input) example:
+# ~~~nitish
+# Left operand: 23
+# Right operand: 15
+# Operator (+, -, *, /, %): +
+# Char to display: #
+# Size of text: 5
+# Space between digits: 1
+#       ##### #####
+#           #     #
+#       ##### #####
+#       #         #
+#       ##### #####
+#
+#         #   #####
+#   +    ##   #
+# +++++   #   #####
+#   +     #       #
+#       ##### #####
+#
+# __________________
+#
+#       ##### #####
+#           # #   #
+#       ##### #####
+#           # #   #
+#       ##### #####
+# ~~~
 module draw_operation
 
 `{
index 333540b..c91cdb7 100644 (file)
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-# This module illustrates some uses of the FFI, specifically
-# how to use extern methods. Which means to implement a Nit method in C.
+# Sample program using extern methods implemented in C and other FFI services
 module extern_methods
 
 redef enum Int
-       # Returns self'th fibonnaci number
-       # implemented here in C for optimization purposes
+       # Get the `self`th Fibonacci number
+       #
+       # The FFI can be used to optimize performance critical methods.
+       # Although this implementation is recursive, so there is not much gain.
+       # Notice the `import fib` telling the compiler that there is a callback to `foo` from the C code.
+       # From C, `foo` is called through the function `Int_fib` with the receiver as argument.
        fun fib: Int import fib `{
                if (self < 2)
                        return self;
@@ -28,22 +31,27 @@ redef enum Int
                        return Int_fib(self-1) + Int_fib(self-2);
        `}
 
-       # System call to sleep for "self" seconds
+       # System call to sleep for `self` seconds
+       #
+       # You can use the FFI to access any system functions, sometimes it's extremely simple.
        fun sleep `{
                sleep(self);
        `}
 
-       # Return atan2l(self, x) from libmath
-       fun atan_with(x: Int): Float `{
-               return atan2(self, x);
-       `}
-
-       # This method callback to Nit methods from C code
-       # It will use from C code:
-       # * the local fib method
-       # * the + operator, a method of Int
-       # * to_s, a method of all objects
-       # * String.to_cstring, a method of String to return an equivalent char*
+       # Print the result of adding `self` to `self.fib` with callbacks from C
+       #
+       # This method illustrates many forms of callbacks from C,
+       # but it would have been better implemented in Nit (as done by `bar`).
+       #
+       # It is recommended to avoid callbacks when possible, use each language according to their strengths.
+       # Nit is better than C to call methods and manipulate objects.
+       # C has easy access to system functions, native libraries and it does low-level stuff.
+       #
+       # The implementation calls:
+       # * the local `fib` method,
+       # * the `+` operator, a method of `Int`,
+       # * `to_s`, a method of all objects,
+       # * `String.to_cstring`, a method of `String` to get as a `char*`.
        fun foo import fib, +, to_s, String.to_cstring `{
                long self_fib = Int_fib(self);
                long self_plus_fib = Int__plus(self, self_fib);
@@ -54,16 +62,25 @@ redef enum Int
                printf("from C: self + fib(self) = %s\n", c_string);
        `}
 
-       # Equivalent to foo but written in pure Nit
+       # Equivalent to `foo` but written in pure Nit
        fun bar do print "from Nit: self + fib(self) = {self+self.fib}"
 end
 
+redef class Float
+       # Arctangent of `self` and `other` using `atan2` from `math.h`
+       #
+       # Universal types (Int, Float, Bool, etc.) are converted to their closest equivalent in C
+       # (long, double, int, etc.).
+       fun atan_with(other: Float): Float `{
+               return atan2(self, other);
+       `}
+end
+
 print 12.fib
 
 print "sleeping 1 second..."
 1.sleep
 
-print 100.atan_with(200)
+print 100.0.atan_with(200.0)
 8.foo
 8.bar
-
diff --git a/examples/mnit_dino/README.md b/examples/mnit_dino/README.md
new file mode 100644 (file)
index 0000000..dc46a12
--- /dev/null
@@ -0,0 +1,11 @@
+Dino vs cavemen portable action game where the player plays the dino
+
+# Project Structure
+
+* `game_logic` defines, as its name implies, the full game logic and the basic entities.
+* `graphism` defines how the game is drawn on screen with fully portable code.
+* `dino` implements the the portable app structure.
+* `dino_android` and `dino_linux` adapt the portable game for specific platforms.
+* `fancy_dino` is an optional module which tweaks how the dino itself is drawn on screen
+  to create the flat rotation effect.
+* `splash` defines the splash screen used while the app loads.
index ba6b45e..7b7ce02 100644 (file)
@@ -14,9 +14,9 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-# Services related to pathfinding of graphs using A*
-# A single graph may have different properties according to the `PathContext` used
+# A* pathfinding in graphs
 #
+# A single graph may have different properties according to the `PathContext` used
 #
 # Usage:
 #
@@ -194,7 +194,7 @@ class Node
        # With a large graph it can cause a stack overflow.
        #
        # Instead, we serialize the nodes first and then the links.
-       redef fun core_serialize_to(serializer: Serializer)
+       redef fun core_serialize_to(serializer)
        do
                serializer.serialize_attribute("graph", graph)
        end
@@ -265,7 +265,7 @@ class Graph[N: Node, L: Link]
        # Used to check if nodes have been searched in one pathfinding
        private var pathfinding_current_evocation: Int = 0
 
-       redef fun core_serialize_to(serializer: Serializer)
+       redef fun core_serialize_to(serializer)
        do
                serializer.serialize_attribute("nodes", nodes)
                serializer.serialize_attribute("links", links)
@@ -380,7 +380,7 @@ class WeightedPathContext
                self.worst_cost = worst_cost
        end
 
-       redef var worst_cost: Int is noinit
+       redef var worst_cost is noinit
 
        redef fun cost(l) do
                return l.weight
index 47c0e4b..50ac38d 100644 (file)
@@ -1,4 +1,4 @@
-The `android` module provides support for the Android platform
+Android platform support and APIs
 
 # Compilation for Android
 
index 22f4f77..c5caa4b 100644 (file)
@@ -1,4 +1,4 @@
-_app.nit_ is a framework to create cross-platform applications
+_app.nit_, a framework for portable applications
 
 The framework provides services to manage common needs of modern mobile applications:
 
index a7f9d69..dad9899 100644 (file)
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-# Services to control the bcm2835 chipset as used in the Raspberry Pi
-# model B revision 1 Uses the C library by Mike McCauley from
-# http://www.airspayce.com/mikem/bcm2835/
+# Services to control the bcm2835 chipset used in the Raspberry Pi
+#
+# Uses the C library by Mike McCauley available at http://www.airspayce.com/mikem/bcm2835/
+#
+# This module targets the model B revision 1, it could be tweaked for other versions.
 module bcm2835
 
-import gpio
-
 in "C Header" `{
        #include <bcm2835.h>
 `}
@@ -31,6 +31,12 @@ redef class Object
        protected fun bcm2835_debug=(v: Bool) `{ bcm2835_set_debug(v); `}
 end
 
+# A physical binary pin
+interface Pin
+       # Set the output of this pin
+       fun write(high: Bool) is abstract
+end
+
 extern class RPiPin `{ RPiGPIOPin `}
        super Pin
 
index 7e5c180..b6909cd 100644 (file)
@@ -12,7 +12,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-# Add reading and writing binary services
+# Read and write binary data with any `Reader` and `Writer`
 #
 # ~~~
 # var w = new FileWriter.open("/tmp/data.bin")
index 4060dc4..b5542e4 100644 (file)
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-# Provides basic game logic utilities using buckets to coordinate and
-# optimize actions on game turn ends. Supports both action at each
-# end of turn as well as actions on some end of turns.
+# Game framework with an emphasis on efficient event coordination
 #
-# Allows for fast support of a large number of entities with rare actions,
-# such as a forest with many individual trees.
+# Provides basic game logic entities to manage a game where the logic is executed by turns:
+# `Game`, `GameTurn`, `GameEvent`, `Turnable`.
+# Also offers a bucket system to plan future events at a known number of turns in the future:
+# `Bucketable` and the services `act_next` and `act_in`.
+#
+# Efficiently support large number of entities with rare or sparse actions,
+# such as a forest with many individual trees growing slowly.
 module bucketed_game is serialize
 
 import serialization
index a4a8e01..deb6765 100644 (file)
--- a/lib/c.nit
+++ b/lib/c.nit
@@ -14,8 +14,9 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-# Utilities and performant structure for the FFI with C
+# Structures and services for compatibility with the C language
 module c
+
 import core
 intrude import core::collection::array
 
index 09e1291..3e20d87 100644 (file)
@@ -14,7 +14,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-# The Cocoa API is the development layer of OS X
+# Cocoa API, the development layer of OS X
 #
 # This module is only compatible with OS X.
 #
index a2896d3..a09d634 100644 (file)
@@ -14,7 +14,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-# Offers features to interface with C++ code and libraries
+# Services for compatibility with C++ code and libraries
 module cpp is
        new_annotation cppflags
 end
index 11c39bf..f225a02 100644 (file)
@@ -14,7 +14,9 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-# Curl services: `CurlHTTPRequest` and `CurlMail`
+# Data transfer with URL syntax
+#
+# Download or upload over HTTP with `CurlHTTPRequest` and send emails with `CurlMail`.
 module curl
 
 import native_curl
index 781c2a4..8934b7e 100644 (file)
@@ -14,8 +14,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-# EGL is an interface between the rendering APIs OpenGL, OpenGL ES, etc.
-# and the native windowing system.
+# Interface between rendering APIs (OpenGL, OpenGL ES, etc.) and the native windowing system.
 #
 # Most services of this module are a direct wrapper of the underlying
 # C library. If a method or class is not documented in Nit, refer to
diff --git a/lib/gpio.nit b/lib/gpio.nit
deleted file mode 100644 (file)
index cea53cb..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-# This file is part of NIT ( http://www.nitlanguage.org ).
-#
-# Copyright 2013 Alexis Laferrière <alexis.laf@xymus.net>
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-# GPIO related functionnalities
-module gpio
-
-# A physical binary pin
-interface Pin
-       # Set the output of this pin
-       fun write(high: Bool) is abstract
-end
index 1d8ed48..405bb01 100644 (file)
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-# Provides GTK+ widgets and functionalities
+# GTK+ widgets and services
 #
-# By default it provides services from GTK+ v3.4. You can get newer
-# features by importing submodules v3_6 or v3_8 with `import gtk::v3_6`.
+# By default provides services from GTK+ v3.4.
+# Newer features from v3.6 and v3.8 are available in the submodules v3_6 and v3_8 respectively.
 module gtk
 
 import v3_4
index 9d5079d..98cb714 100644 (file)
@@ -12,7 +12,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-# iOS services for Nit app on iOS
+# iOS platform support
 module ios
 
 import platform
index b458d01..7df7e82 100644 (file)
@@ -15,7 +15,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-# Provides two APIs to manipulate JSON strings.
+# Libraries to manipulate JSON strings.
 #
 # Both `dynamic` and `static` modules provide at least a method to parse a
 # value written in JSON, but only `static` provide a method to translate a
index a9e8920..62cebe1 100644 (file)
@@ -15,7 +15,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-# Manipulates the Java Virtual Machine
+# Java Virtual Machine services
 #
 # See: http://docs.oracle.com/javase/1.5.0/docs/guide/jni/spec/jniTOC.html
 module jvm is
index 6495145..3fee2f8 100644 (file)
@@ -14,7 +14,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-# Implements the md5 function in C
+# Native MD5 digest implementation as `Text::md5`
 module md5
 
 in "C Header" `{
@@ -489,7 +489,7 @@ in "C Header" `{
        }
 `}
 
-redef class String
+redef class Text
        # MD5 digest of `self`
        #
        # ~~~
index e814b56..727ac60 100644 (file)
@@ -14,7 +14,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-# Client for a MPD server
+# Music Player Daemon client library
 module mpd
 
 import socket
index 9a1ecc0..ba09bc1 100644 (file)
@@ -12,7 +12,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-# Provides the noise generators `PerlinNoise` and `InterpolatedNoise`
+# Noise generators `PerlinNoise` and `InterpolatedNoise`
 module noise is serialize
 
 import serialization
index ad64930..8cfa4da 100644 (file)
@@ -10,7 +10,7 @@
 # You  are  allowed  to  redistribute it and sell it, alone or is a part of
 # another product.
 
-# Provides the Clock utility class to keep time of real time flow
+# Services to keep time of the wall clock time
 module realtime is ldflags "-lrt"
 
 in "C header" `{
index 04d9fac..ed60975 100644 (file)
@@ -14,7 +14,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-# SDL display support (used in Linux for windows and inputes only)
+# Simple DirectMedia Layer
 module sdl is
        cflags exec("sdl-config", "--cflags")
        ldflags(exec("sdl-config", "--libs"), "-lSDL_image -lSDL_ttf")
@@ -77,15 +77,15 @@ extern class SDLDisplay `{SDL_Surface *`}
                SDL_FillRect(self, NULL, SDL_MapRGB(self->format,r,g,b));
        `}
 
-       redef fun width: Int `{ return self->w; `}
-       redef fun height: Int `{ return self->h; `}
+       redef fun width `{ return self->w; `}
+       redef fun height `{ return self->h; `}
 
        # Fill a rectangle with given color
        fun fill_rect(rect: SDLRectangle, r, g, b: Int) `{
                SDL_FillRect(self, rect,  SDL_MapRGB(self->format,r,g,b));
        `}
 
-       redef fun clear(r, g, b: Float) `{
+       redef fun clear(r, g, b) `{
                Uint8 ri, gi, bi;
                ri = (Uint8)r*255;
                gi = (Uint8)g*255;
@@ -247,8 +247,8 @@ extern class SDLImage
        # Destroy the image and free the memory
        redef fun destroy `{ SDL_FreeSurface(self); `}
 
-       redef fun width: Int `{ return self->w; `}
-       redef fun height: Int `{ return self->h; `}
+       redef fun width `{ return self->w; `}
+       redef fun height `{ return self->h; `}
 
        fun is_ok: Bool do return not address_is_null
 
@@ -309,8 +309,8 @@ class SDLMouseButtonEvent
 
        var button: Int
 
-       redef var pressed: Bool
-       redef fun depressed: Bool do return not pressed
+       redef var pressed
+       redef fun depressed do return not pressed
 
        # Is this event raised by the left button?
        fun is_left_button: Bool do return button == 1
@@ -355,8 +355,8 @@ class SDLMouseMotionEvent
        var rel_x: Float
        var rel_y: Float
 
-       redef var pressed: Bool
-       redef fun depressed: Bool do return not pressed
+       redef var pressed
+       redef fun depressed do return not pressed
 
        init (x, y, rel_x, rel_y: Float, pressed: Bool)
        do
@@ -384,7 +384,7 @@ class SDLKeyEvent
                self.down = down
        end
 
-       redef fun to_c: nullable Char
+       redef fun to_c
        do
                if name.length == 1 then return name.chars.first
                return null
index 6fd06d0..440fd39 100644 (file)
@@ -14,7 +14,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-# Module to manage standard C signals
+# ANSI C signal handling
 #
 # Common usage imply 5 steps:
 #
index 1ba2d13..bd5d82a 100644 (file)
@@ -14,7 +14,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-# Serices from the X11 library
+# Services from the X11 library
 module x11 is pkgconfig
 
 `{
@@ -31,7 +31,7 @@ fun x_open_default_display: Pointer `{
 # Open a specific display
 #
 # `name` is in the format: "hostname:number.screen_number"
-# 
+#
 # See <http://www.x.org/releases/X11R7.7/doc/man/man3/XOpenDisplay.3.xhtml>
 fun x_open_display(name: String): Pointer import String.to_cstring `{
        return (void*)XOpenDisplay(String_to_cstring(name));
index 9ce343f..86ed222 100644 (file)
@@ -1 +1 @@
-Runtime error: Assert failed (../lib/c.nit:45)
+Runtime error: Assert failed (../lib/c.nit:46)
index 79d181f..dbeee7b 100644 (file)
@@ -1,2 +1,2 @@
-Runtime error: Assert failed (../lib/c.nit:37)
+Runtime error: Assert failed (../lib/c.nit:38)
 0
index 79d181f..dbeee7b 100644 (file)
@@ -1,2 +1,2 @@
-Runtime error: Assert failed (../lib/c.nit:37)
+Runtime error: Assert failed (../lib/c.nit:38)
 0
index 2689f93..e5246df 100644 (file)
@@ -1,4 +1,4 @@
-Runtime error: Assert failed (../lib/c.nit:36)
+Runtime error: Assert failed (../lib/c.nit:37)
 0
 0
 1