guile-gtk-general
[Top][All Lists]
Advanced

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

Re: g-wrap Question


From: Andreas Rottmann
Subject: Re: g-wrap Question
Date: Tue, 17 Apr 2007 20:30:01 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

Puneet <address@hidden> writes:

> Greetings
>
> I am trying to use g-wrap to wrap some c structures and functions.
> Please help me on this.
>
> Looking at the the G-wrap manual, I have been able to figure out that
> I have to use add-as-wct! for wrapping pointers. And I have been able
> to wrap some of my structures using
>
> (define-class <my-type> (<gw-rti-type>))
>
> followed by add-type! to the wrapset and declaration of
> unwrap-value-cg and wrp-value-cg methods. This much I am able to
> understand.
>
> The problem is that I have a pointer type and an instance of the same
> pointer type is also part of a structure. So I handle the pointer type
> using wrap-as-wct!. Now I do not have any clue how to handle the same
> structure which encapsulates this same pointer type.
>
I'm not sure I understand. Can you provide source code?

Cheers, Rotty
-- 
Andreas Rottmann         | address@hidden      | address@hidden | address@hidden
http://rotty.uttx.net    | GnuPG Key: http://rotty.uttx.net/gpg.asc
Fingerprint              | C38A 39C5 16D7 B69F 33A3  6993 22C8 27F7 35A9 92E7
v2sw7MYChw5pr5OFma7u7Lw2m5g/l7Di6e6t5BSb7en6g3/5HZa2Xs6MSr1/2p7 hackerkey.com

A. Because it breaks the logical sequence of discussion
Q. Why is top posting bad?




reply via email to

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