[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
making a SCM from a GObject *
From: |
Peter Gavin |
Subject: |
making a SCM from a GObject * |
Date: |
Tue, 10 May 2005 02:10:21 -0400 |
Hi everyone,
Ok, so, I'm a bit new to guile, but I've been playing around w/ trying
to embed guile in my app, and one thing I've been wanting to do is
create a GObject subtype in C and pass it to some scheme code (the
same way I can create a SCM from a C string w/ scm_makfrom0str). I
couldn't find any docs concerning this, and google gave me no hits,
but in grepping the code, I found scm_c_gtype_instance_to_scm, but I
get back an error when I use it:
<gtype> #<gtype GObject> already has a GOOPS class, use gtype->class
Am I using the wrong function, or using it in the wrong way?
Pete
- making a SCM from a GObject *,
Peter Gavin <=