Swig for Euphoria

new topic     » topic index » view thread      » older message » newer message

I was looking at Swig for Euphoria by David Cunny. An example is:

pow.i {{{ %{

  1. include <math.h> %}

double pow(double, double); }}

Then it creates a .c file and a .e file. The .c file is compiled to a .dll, and the .e wraps the .dll.

What is the reason for creating the .c and .dll file? I could see if this was a project written in C for the sole purpose of providing functionality to Euphoria, but most of the time we are wrapping other libraries, such as sqlite, iup, gtk, etc...

Jeremy

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu