guile-user
[Top][All Lists]
Advanced

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

Acessing scheme procedures in C code


From: Daniel Martins Barbosa Fortes Manoel
Subject: Acessing scheme procedures in C code
Date: Sun, 18 Mar 2001 15:36:33 -0300

        I'm  currently working on a small text adventure engine using guile, 
and i 
need to acess some procedures inside a Scheme script, is there any way to get 
a pointer to a procedure inside script?
        
here's the problem:

class obj {
                int (*look_handle) (void);
                
                int install_look_handle(int(*look_handle));
}


        i wanted to define the look_handle inside the script, and call the C 
code to 
install, is there any way to do this??          



reply via email to

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