[REBOL] Re: accessing c functions
From: rishioswal:yaho:o at: 12-May-2001 1:00
hmmm...seems like my last message didn't get through.
Anyway, thanks for the pointers. I guess i'll have to
learn how to compile c code into shared
libraries...Hopefully I won't have to read a whole
book to do it... If it is too complicated, I wonder if
it would be easier to write c functions and then use
the rebol shell (instead of libraries) to send input
and get output from the c functions (via the shell). I
guess i'd have to convert the c output to a string and
then in rebol, convert the string to valid rebol
datatypes.
on the flip side, I was also wondering, as crazy as it
may sound, if it would be possible to put rebol code
into a shared library so i can call it in my c code.
The reason i'd like to do this is simply because in
many of our programming assignments, we have to
implement c functions within a larger program. I'd
like to implement those functions in rebol by calling
a shared rebol library...i doubt this is
possible...but thought i'd ask anway..
rishi
--- [sterling--rebol--com] wrote: