guile-clutter, clutter-devel: add custom bindings for ClutterPoint and ClutterSize

2014-04-28 Thread David Pirotte
Hello, guile-clutter clutter-devel: add custom bindings for ClutterPoint and ClutterSize Patch review solicited. Thanks, David >From fd2da7831c966034649392ebac00214a3660b4cf Mon Sep 17 00:00:00 2001 From: David PIROTTE Date: Mon, 28 Apr 2014 16:12:45 -0300 Subject: [PATCH 4/4]

Re: RFC: Foreign objects facility

2014-04-28 Thread Andy Wingo
On Mon 28 Apr 2014 10:24, l...@gnu.org (Ludovic Courtès) writes: > I would have preferred to rebase SMOBs on top of structs, with the added > documentation as to how they can be accessed from Scheme, but I suppose > this is ruled out by the SCM_SETCDR issue above? We can think of doing this in th

Re: RFC: Foreign objects facility

2014-04-28 Thread Andy Wingo
On Sun 27 Apr 2014 18:46, Stefan Israelsson Tampe writes: > FYI I need need the gc mark interface for my prolog variables in order > to hope for garbage collecting of prolog programs, e.g. clean the > variables bindings in the prolog stack for variables that no longer is > referenced. It is poss

Re: RFC: Foreign objects facility

2014-04-28 Thread Andy Wingo
On Sun 27 Apr 2014 18:00, Mark H Weaver writes: > Andy Wingo writes: > >> I propose to provide a new interface that will eventually make SMOBs >> obsolete. This new interface is based on structs with raw fields -- the >> 'u' fields. (See >> http://www.gnu.org/software/guile/docs/master/guile.h

Re: RFC: Foreign objects facility

2014-04-28 Thread Ludovic Courtès
Hello! Andy Wingo skribis: > 7) There is legacy code out there that uses e.g. SCM_SETCDR to set > smob fields. (This is terrible, but it exists: > https://github.com/search?q=SCM_SETCDR+smob&ref=cmdform&type=Code > for an example.) [...] > I propose to provide a new interface