all: fix broken docunits
[nit.git] / lib / egl.nit
index 841d6f6..e349a0d 100644 (file)
@@ -21,7 +21,7 @@
 # C library. If a method or class is not documented in Nit, refer to
 # the official documentation by the Khronos Group at:
 # http://www.khronos.org/registry/egl/sdk/docs/man/xhtml/
-module egl is pkgconfig("egl")
+module egl is pkgconfig
 
 in "C Header" `{
        #include <EGL/egl.h>
@@ -62,7 +62,7 @@ extern class EGLDisplay `{ EGLDisplay `}
        #fun get_configs: nullable Array[EGLConfig] import Array[EGLConfig].with_native `{
 
        # Returns some configs compatible with the specified `attributes`
-       fun choose_configs(attribs: Array[Int]): nullable Array[EGLConfig] import Array[Int].length, Array[Int].[], Array[EGLConfig], Array[EGLConfig].add, Array[EGLConfig] as nullable, report_egl_error `{
+       fun choose_configs(attribs: Array[Int]): nullable Array[EGLConfig] import Array[Int].length, Array[Int].[], Array[EGLConfig], Array[EGLConfig].add, Array[EGLConfig].as nullable, report_egl_error `{
                EGLConfig *configs;
                int n_configs;
                int n_attribs = Array_of_Int_length(attribs);