From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "=?ISO-8859-1?Q?Ren=E9_K=F6cher?=" Newsgroups: gmane.lisp.guile.devel Subject: guile-1.8 and goops c-api Date: Wed, 20 Feb 2008 10:53:12 +0100 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1203530794 12559 80.91.229.12 (20 Feb 2008 18:06:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 20 Feb 2008 18:06:34 +0000 (UTC) To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Feb 20 19:06:58 2008 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JRtKy-0003r6-5B for guile-devel@m.gmane.org; Wed, 20 Feb 2008 19:06:32 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JRtKT-0003pG-5Y for guile-devel@m.gmane.org; Wed, 20 Feb 2008 13:06:01 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JRldh-000891-0a for guile-devel@gnu.org; Wed, 20 Feb 2008 04:53:21 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JRldd-00087y-Gs for guile-devel@gnu.org; Wed, 20 Feb 2008 04:53:18 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JRldc-00087V-Dt for guile-devel@gnu.org; Wed, 20 Feb 2008 04:53:16 -0500 Original-Received: from rv-out-0910.google.com ([209.85.198.187]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JRldb-0004Qz-Qx for guile-devel@gnu.org; Wed, 20 Feb 2008 04:53:16 -0500 Original-Received: by rv-out-0910.google.com with SMTP id c27so3466653rvf.6 for ; Wed, 20 Feb 2008 01:53:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=3LdaNhDk5U/NYPMk3Pp0j9oJDyCZGUeh2S9g3rX9y4M=; b=QM2Lq4oZrJ+Ok9pv5Js9RAMYAHwid90opg98V20fV0uZcFur3/cZjcNIj+jXH7GiLXU9fsF1kU7EA7eIWeoZKBowMwjYWwuu7tfuiDvRpgpVkVrblQLWNisSPV715j/e0VaiTRAugCRIXojI10pZCj4tUmjN7VJvc8S/M2owQJA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=ijOz6jXXmiFqvQe4Svut86HYpqfMyQXT9wi97vWTXdl3NiTYqiLMiH5hQEWktZMJBGALhGaO5VFebwiFFv444eGFJO/9agxTKnB3kj54lQXp6N8g/Em4Jio/TqBW8Tdf/xOQRAA1f3dNQsGOLaohtLGXcUzAkS+0nqXouuyQVjg= Original-Received: by 10.141.189.4 with SMTP id r4mr5552797rvp.98.1203501192911; Wed, 20 Feb 2008 01:53:12 -0800 (PST) Original-Received: by 10.140.202.6 with HTTP; Wed, 20 Feb 2008 01:53:12 -0800 (PST) Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-Mailman-Approved-At: Wed, 20 Feb 2008 13:05:54 -0500 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:7034 Archived-At: Hi, I'm sending out an SOS to the guile-devel list! Is there anybody out there able to provide me with a decent, working example on how to export a goops-class using guile-1.8 c-api _only_?? I tried really hard over the past two days and neither have I found any working code nor could I get my own code working.. I am able to create a new class using scm_make_class() but my program terminates with a SIGSEGV whenever I try to add a slot with scm_add_slot(). Please, help me. P.S. Using scheme source and exporting the class at runtime is _no option_.. Yours faithfully Shirk ---------------------------------------------------------------------- BitSpinn.org - Don't get twisted up! ----------------------------------------------------------------------