Paste: callback failing

Author: eddayyy
Mode: factor
Date: Sun, 17 Jul 2011 02:53:12
Plain Text |
USING: alien alien.c-types alien.libraries alien.syntax classes.struct                                                                                                                          
combinators kernel specialized-arrays system ;

IN: ftgl.libftgl

<< "libftgl" {
    { [ os unix? ] [ "libftgl.so" ] }
} cond cdecl add-library

"libftgl" deploy-library >>

LIBRARY: libftgl

CALLBACK: int foo ( int x ) ;

Annotation: changed

Author: eddayyy
Mode: factor
Date: Sun, 17 Jul 2011 02:54:50
Plain Text |
USING: alien alien.c-types alien.libraries alien.syntax classes.struct                                                                                                                          
combinators kernel specialized-arrays system ;

IN: ffi.libftgl

<< "libftgl" {
    { [ os unix? ] [ "libftgl.so" ] }
} cond cdecl add-library

"libftgl" deploy-library >>

LIBRARY: libftgl

CALLBACK: int foo ( int x ) ;

New Annotation

Summary:
Author:
Mode:
Body: