bug-gnu-emacs
[Top][All Lists]
Advanced

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

Re: loading functions from a shared library


From: Steve Kemp
Subject: Re: loading functions from a shared library
Date: 12 Dec 2001 04:53:24 -0800

I've managed to find the time to look at this, and it seems like
 it would be a fairly simple job to add support for the dynamical
 loading of modules.

  I think we could even make it compatable with the XEmacs way of
 doing things without too much effort.

  XEmacs currently implements the module support in two pairs 
 of files:

   emodules.[ch]
   sysdll.[ch]

  Sysdll.[ch] both start with the following text:

/* sysdll.c --- system dependent support for dynamic linked libraries
   Copyright (C) 1998 Free Software Foundation, Inc.
  
  So I imagine that adding them to the Emacs source tree shouldn't be
 problematic - the emodules file would have to be rewritten, but its
 not a hug job, and it could be kept API compatible - allowing XEmacs
 modules that are not XEmacs-internals-specific to work under GNU
 Emacs.

  I'll make an initial implementation over the weekend, time permitting.

Steve
---
http://www.steve.org.uk/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]