- Subject: Re: JED and s-lang
- From: Paul Boekholt <p.boekholt@xxxxxxxxx>
- Date: Tue, 22 Jun 2004 21:30:43 +0200
On Tue, Jun 22, 2004 at 05:59:33AM -0700, Riza Dindir wrote:
> I am wondering, is there a way to call functions in
> dynamic libraries (unix/windows) from within a jed
> macro (script) file?
If you install the prerelease of JED 0.99-17
<ftp://space.mit.edu/pub/davis/jed/v0.99/pre-0.99-17/>
and type C-h f import, you should see
The `import' function causes the run-time linker to dynamically
link to the shared object specified by the `module' parameter.
As an example, S-Lang comes with a file called pcre-module.c which compiles
to a pcre-module.so, which is linked to libpcre.so. The file pcre.sl at
<http://jedmodes.sf.net/mode/pcre> contains the line
import("pcre");
That's all it takes! If you want to use some other library, you will have to
do do some C programming. See the file cslang.txt that comes with s-lang, and
get the SLIRP package.
The list seems to be confused - the TO header is set to John's email address?
--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.
[2004 date index]
[2004 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]