From: Daniel A. S. <st...@ic...> - 2005-04-26 06:30:52
|
Jeff, On Tuesday, Apr 26, 2005, at 16:12 Australia/Sydney, Jeff Hobbs wrote: > IMO a change is needed in the load functionality to provide > public, platform independent Tcl_ Load and FindSym library > functions. Yes! +1 I just ran into the need for this while updating ffidl and porting it to Darwin (more on this later today), I currently directly build the @DL_OBJS@ from tcl into the extension, which works but is obviously not a good solution... A general x-plat (ideally vfs aware) load, unload and symbol lookup API is definitely needed (and not very hard to implement, we should have all the necessary code already...), the existing Tcl_FSLoadFile is just not flexible enough (not even for the needs of the core, as this example shows). Cheers, Daniel -- ** Daniel A. Steffen ** "And now for something completely ** Dept. of Mathematics ** different" Monty Python ** Macquarie University ** <mailto:st...@ma...> ** NSW 2109 Australia ** <http://www.maths.mq.edu.au/~steffen/> |