From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Matt Wette Newsgroups: gmane.lisp.guile.devel Subject: Re: ffi-helper: status Date: Fri, 7 Jul 2017 17:31:20 -0700 Message-ID: <30D395AD-3130-469D-AF9A-67F735852ACB@gmail.com> References: <0EB36A0A-DB92-4007-8906-3C8953045E69@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1499473905 20292 195.159.176.226 (8 Jul 2017 00:31:45 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 8 Jul 2017 00:31:45 +0000 (UTC) To: guile-devel Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat Jul 08 02:31:38 2017 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dTdep-0004nL-HC for guile-devel@m.gmane.org; Sat, 08 Jul 2017 02:31:35 +0200 Original-Received: from localhost ([::1]:59317 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dTdeu-0004y6-Ok for guile-devel@m.gmane.org; Fri, 07 Jul 2017 20:31:40 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53959) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dTdej-0004xx-JF for guile-devel@gnu.org; Fri, 07 Jul 2017 20:31:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dTdee-0007AI-MP for guile-devel@gnu.org; Fri, 07 Jul 2017 20:31:29 -0400 Original-Received: from mail-pg0-x230.google.com ([2607:f8b0:400e:c05::230]:33759) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dTdee-00079t-Gd for guile-devel@gnu.org; Fri, 07 Jul 2017 20:31:24 -0400 Original-Received: by mail-pg0-x230.google.com with SMTP id k14so24244126pgr.0 for ; Fri, 07 Jul 2017 17:31:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:subject:date:references :to:in-reply-to:message-id; bh=+L7KM4CYyI/Y68HqrZgNzLijMwW3XS0BwA9kiGJButE=; b=QdVarcY43xSTYCPCb8PuxKtgdvaA6D6rWOUr/Tan+lFQLcRqk++wlzsy/8y8kuDELC dXzAKheApHwnQT9zFLZhF71YRMbbGMrkULuHAHqQa44YYicNcOIDxjpUd44tJn1DRjGc /6PdKxA4hF0J1QmhJRqSFowV131YtpLuF/T1wHjMlhBqMkaPB0xBo7GYPS8ao0QpNvRn +lquMxHiNw4M82DRfe4jBH4ZuBXoCst7Qs+uWNE5kc2x8O4BpSm6yrcBi8dbHYx84RAM 1oNwCZmOgSxFcjE18L7eppyZ0bkMUKjey+IIBy6eMt5L5Fj78hr5nW6k+KlDe5pQ/K8i xQ3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=+L7KM4CYyI/Y68HqrZgNzLijMwW3XS0BwA9kiGJButE=; b=Pt4vAomjFvvt2qotl57B3Emy5MB3/k596Cx/skjdO5uwV/ZFheotMkkSdTpdATrDQ2 F/NKjOLU1zCH0DL5y7s31SIeDTf43BFQx8ic4sYyzLllyVqoMtG4M3ZcL2b2YlFWZINe HMTcLZ8Uf7Q3xqGAIHgb8Ax3Knm8SSiAQ89PofmqtatFyFmdmdcWBriu2idITiveusR8 44ekzo4RFOwqt2EBZ+PWDYUgSr1wSDKZdF/Kj5476UgzUJ5TLrxJhref2aTsFXDt97FV EpwgXZ/nNO2T20Fo2cbBjHUeofc3ij0TvmxnE8FImMCxaSzOt8A5TjkFtgPh1V9XTZWV HLFw== X-Gm-Message-State: AIVw1104HVarxk6fl1IWue+t0TSJpABuZARPetdqu4cRtamygX4bM6Q0 x9lgzJxFSC5UIUM9HGc= X-Received: by 10.84.229.7 with SMTP id b7mr5800946plk.216.1499473883147; Fri, 07 Jul 2017 17:31:23 -0700 (PDT) Original-Received: from nautilus.championbroadband.com (216-165-236-44.championbroadband.com. [216.165.236.44]) by smtp.gmail.com with ESMTPSA id 63sm6271108pgd.57.2017.07.07.17.31.21 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 07 Jul 2017 17:31:22 -0700 (PDT) In-Reply-To: <0EB36A0A-DB92-4007-8906-3C8953045E69@gmail.com> X-Mailer: Apple Mail (2.3273) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c05::230 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: "guile-devel" Xref: news.gmane.org gmane.lisp.guile.devel:19244 Archived-At: > On Jul 7, 2017, at 5:18 PM, Matt Wette wrote: > However, the above generates 397 FFI declarations into a cairo.scm = file which is about 6000 lines long. I=E2=80=99m not=20 > sure if I want to start testing this code or start converting = suggestions and have guile-users do some testing. =20 That is, for this example, I no longer run into declarations which my = code says =E2=80=9Cfailed,=E2=80=9D indicating that it didn=E2=80=99t = know what to do with the declaration. I already notice that the function types converters should be called = =E2=80=9Cunwrap=E2=80=9D and that they should be called by the procedure = interface. I am going to start playing with cairo_set_user_data to see = if passed procedures work.=20=