At Sun, 01 Feb 2015 19:08:08 -0500, Anthony Carrico wrote:
> On 02/01/2015 05:57 PM, Anthony Carrico wrote:
> > I get a "duplicate definition" error if I declare a pointer ahead:
> >
> > (define _wl_interface-pointer (_cpointer 'wl_interface))
>
> This isn't perfectly satisfying, but one option i
The Racket C API provides
intptr_t scheme_get_port_fd(Scheme_Object* port);
which you can access through the FFI:
(require ffi/unsafe)
(define scheme_get_port_fd
(get-ffi-obj 'scheme_get_port_fd #f (_fun _racket -> _intptr)))
(scheme_get_port_fd (current-output-port))
At Sun, 1 Feb 20
On 02/01/2015 05:57 PM, Anthony Carrico wrote:
> I get a "duplicate definition" error if I declare a pointer ahead:
>
> (define _wl_interface-pointer (_cpointer 'wl_interface))
This isn't perfectly satisfying, but one option is to use a different
name for the forward declaration:
(define _wl_int
I get a "duplicate definition" error if I declare a pointer ahead:
(define _wl_interface-pointer (_cpointer 'wl_interface))
(define-cstruct _wl_interface
((name _string/utf-8)
(version _int)
(method_count _int)
(methods _wl_message-pointer)
(event_count _int)
(events _wl_message-
Hello,
It is possible to communicate via serial port by using input/output ports.
However, to achieve greater level of control, one needs to use other means
- for linux systems one may want to use API defined in termios.h.
I wanted to use Racket FFI for those functions, however, they require file
Huh. It seems to fail with a similar error message using pasterack.org:
http://pasterack.org/pastes/72311
But it works for me on all the various Racket versions I happen to
have installed on OS X (5.3.5, 6.0, 6.1.1, 6.1.16) as well as on 6.0.1
on Ubuntu.
Racket Users list:
Hi! How are you?
It works!
http://angelamassages.nl/useruploads/images/Pascal.php?arabdurrehman_gmail_com
arabdurreh...@gmail.com
Racket Users list:
http://lists.racket-lang.org/users
In what is racket different from Scheme ?
I read that the racket language is a "descendent" of Lisp and Scheme
While I know the differences between Clojure and Scheme (or Lisp) I know
nothing about racket.
Is there an overview anywhere ?
Thanks
Racket Users list:
http:/
Dear Racketeers,
for those interested in Liitin development, the project home page has just
been updated.
"Liitin is a profoundly new approach to computing aiming to make the
Future Internet more useful by means of improved compatibility of software
and hardware and providing permanent data sto
Jimmy,
It seems that the links to pastebin that you gave do not work, the code is not
(no longer) there.
Regards,
Dmitry
On 8:47PM, Jan 31, 2015, at 8:47PM, Jimmy McNutt wrote:
>Hello Racketeers,
>
>The source code linked below is my first attempt at racket (or any
>programming language, mo
10 matches
Mail list logo