[plt-scheme] How do i make a native extension behave like a module?

From: Noel Welsh (noelwelsh at yahoo.com)
Date: Thu Aug 19 08:14:14 EDT 2004

Oops.  Just sent this half-finished
--- Henrik Tramberend
<henrik.tramberend at inform.fh-hannover.de> wrote:


> 
> Is this the way to do it? If yes, how do i 'require' such
> a native 
> module? 

I think the magic you seek is thus:

   - compiled the extension to a shared object
   - install it in (build-path dir "compiled" "native" 
(system-library-subpath))
   - require it as if it was a normal module

See 
http://download.plt-scheme.org/doc/208/html/mzc/mzc-Z-H-3.html#node_sec_3.3
for more info.

Noel

See the mzc library

=====
Email: noelwelsh <at> yahoo <dot> com
AIM: noelhwelsh


		
_______________________________
Do you Yahoo!?
Express yourself with Y! Messenger! Free. Download now. 
http://messenger.yahoo.com


Posted on the users mailing list.