Re1: glue code ?



James Henstridge wrote:

> With interpreted languages, you can't call C functions directly or use C
> types directly.  To get round this, some code must be written that wraps
> the C interface in a form useable by the interpreted language.

Does this mean that languages bindings are only available for interpreted
languages ?If you need to use c functions within a PASCAL source file for
example, how "bindings" are done ? Do you have to link your object files
generated by a PASCAL compiler with a c library ? Do you have to add special
macros or something in your source file so as to be able to use c functions ?

    gregor



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