guile-user
[Top][All Lists]
Advanced

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

Re: G-Golf - Callback segmentation fault


From: David Pirotte
Subject: Re: G-Golf - Callback segmentation fault
Date: Mon, 2 Sep 2024 22:01:54 -0300

Hi again,

> ...

> > I still wonder where is the problem, in Guile, G-Golf or
> > gobject-introspection (which according to [2] should not be a
> > problem).  

> Definitely not a g-golf bug.

Unless the code used by g-golf to make the ffi-cif would need to be
adapted, i don't know, but one thing is for sure though, the g-golf
made cif is checked, calling ffi_prep_cif [1], and that procedure would
raise a exception unless the returned status is 0.

Cheers,
David

Fwiw, this is in
        
        libg-golf/gg-ffi.c
                gg_ffi_prep_cif

the scheme call in

        (g-golf support ffi)
                ffi-prep-cif

which when preparing a callback is used in

        (g-golf hl-api callback)
                callback-ffi-cif

Attachment: pgpi1zumXjmGm.pgp
Description: OpenPGP digital signature


reply via email to

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