chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] Passing in a scheme function into C to be called later


From: David Astels
Subject: [Chicken-users] Passing in a scheme function into C to be called later
Date: Tue, 18 Jul 2017 15:21:29 -0400

I’m integrating the Paho C MQTT client code with chicken. The publish stuff 
works fine; it’s just straight-up calling C functions.

Subscribing is puzzling me and I assume someone has encountered a similar 
situation at some point.  I need to be able to pass a scheme function to a call 
to a C function. It then gets stored and is needs to be called by the message 
received callback (a C function).

Any thoughts?

Dave




reply via email to

[Prev in Thread] Current Thread [Next in Thread]