Re: Is there a documentation/reference about wrapping C APIs?
- From: Murray Cumming <murrayc murrayc com>
- To: Philipp Kerling <k philipp gmail com>
- Cc: gtkmm-list gnome org
- Subject: Re: Is there a documentation/reference about wrapping C APIs?
- Date: Fri, 10 Nov 2006 22:44:56 +0100
On Fri, 2006-11-10 at 21:31 +0100, Philipp Kerling wrote:
> Hi,
>
>
> is there a *good* documentation/reference about wrapping C APIs with
> glibmm/gmmproc? I�ve only found
> http://www.gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/aph.html, which
> is partially outdated
It's very new documentation, so I doubt that.
> and (as I think) misses quite a lot of
> descriptions. So for example I would like to know how to:
>
> - wrap vfuncs (or should I simply not wrap them?)
> - wrap a object that derives from GInitiallyUnowned
> - wrap custom constructors with custom parameters (e.g.
> cc_view_widget_new_root and not cc_view_widget_new)
> - wrap interfaces and objects that are based on interfaces
> - implement GObjects that inherit two interfaces without using C++
> multiple inheritance (or should I use that?)
>
> It�d be pretty useful if this information could be added to
> http://www.gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/aph.html,
> because it�s really difficult to guess these things from the gtkmm
> etc. sources.
Could you please add this to this bug:
http://bugzilla.gnome.org/show_bug.cgi?id=350870
Sooner or later I'll get around to adding the stuff that's mentioned in
that bug, if nobody else does.
In the meantime, it's best to look at the .hg and .ccg files of gtkmm
for stuff that is not already in that appendix.
--
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]