Re: GModule
- From: Lance Dillon <riffraff169 yahoo com>
- To: gtk-app-devel-list gnome org
- Subject: Re: GModule
- Date: Mon, 29 Jan 2007 09:43:52 -0800 (PST)
----- Original Message ----
From: Jordan Walsh <jordanwalsh gmail com>
To: gtk-app-devel-list gnome org
Sent: Sunday, January 28, 2007 11:30:02 PM
Subject: GModule
Hi all. I need to be able to see from what library (using GModule) a certain
symbol comes from. In my main program when a plugin unloads I need to be
able to de-reference any pointers to its functions. I cannot however seem to
figure out how to see what module that function resides in. Thanks.
--------------------
From what I can see from the api
(http://developer.gnome.org/doc/API/2.0/glib/glib-Dynamic-Loading-of-Modules.html), you have to get symbol
pointers yourself with g_module_symbol(). Therefore you should know already which module a symbol comes
from. You can probably keep track of the which symbols belong with which module using a GHashTable or
something similar.
____________________________________________________________________________________
Get your own web address.
Have a HUGE year through Yahoo! Small Business.
http://smallbusiness.yahoo.com/domains/?p=BESTDEAL
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]