From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Catonano Newsgroups: gmane.lisp.guile.user Subject: Re: type friction C <-> scheme Date: Fri, 9 Jun 2017 23:39:34 +0200 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1497044413 30387 195.159.176.226 (9 Jun 2017 21:40:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 9 Jun 2017 21:40:13 +0000 (UTC) Cc: guile-user@gnu.org To: Matt Wette Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Fri Jun 09 23:40:09 2017 Return-path: Envelope-to: guile-user@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 1dJRdZ-0007jn-Fp for guile-user@m.gmane.org; Fri, 09 Jun 2017 23:40:09 +0200 Original-Received: from localhost ([::1]:56443 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dJRde-0001nC-Qx for guile-user@m.gmane.org; Fri, 09 Jun 2017 17:40:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56953) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dJRd2-0001lX-QL for guile-user@gnu.org; Fri, 09 Jun 2017 17:39:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dJRd2-0004wq-37 for guile-user@gnu.org; Fri, 09 Jun 2017 17:39:36 -0400 Original-Received: from mail-wr0-x230.google.com ([2a00:1450:400c:c0c::230]:36182) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dJRd1-0004wZ-PO for guile-user@gnu.org; Fri, 09 Jun 2017 17:39:36 -0400 Original-Received: by mail-wr0-x230.google.com with SMTP id v111so45289153wrc.3 for ; Fri, 09 Jun 2017 14:39:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=86j2t6qI+vt3t+gDOj8VxjlpKN/XDxCqqx5bmKMbUCU=; b=Tg3YJDRuLZGgD8rVQFeGu2Km+278AmOsSYm08AzF2NA/KpZ2fI++acy3D/B7EUtort T5Fc20IFTP6rnP/D4tX8tMHPnSKWIx/pTB99v3JNBiGOMe1E+NzhUZtHtwRAxlJvUdpX 6KndjesL9HA1E97gknS/T3p/7EXdeCz5tQpJnbLU80Ov+lCJ1aGffZrsV1sfpbi+TSVU sP0YZ0gbh2WsdO/3YmJIaFlmCXU9kJEdtjjPECioisa4bTev0+MzaF0MA0X6yVoiB+q1 MsIQF6C9uG2BeiNTNiLA0KNQRxTa35OrlFNkx7bLPALLg+Xh0nqnuoUajLNn258TbZ0d eGpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=86j2t6qI+vt3t+gDOj8VxjlpKN/XDxCqqx5bmKMbUCU=; b=pTgJoYlbWlASVQ2BW4tVfgaJuR0qdyaAFpKoJAu9B/X8ooCUdDlzijFTpTDZTUFCB7 FACJOj+RUXWYObtFQoHl+4RNSg1WLCZA3N7D7hfYAtzccqpZer/zfhs0US8JD96oS7ak P+1TnAUnrWARxNKFXqhlxWV8Vp8sj3Hu6kYEDCbKCPLEwsz5T6tne6DwhPGC6fNdSxmu dyRMlDddHz4kzSi2LTH14xOjVv3VV2yvePZffZHcEuQiBhBuhlbv72TWlvknzbZUYxPe xCEBBrazbXC/jOgaww5ATx6HBgq4EL4Rp8vY62FnvQCpImqJhPeQGLyhe66hYdG5GdBC iJpA== X-Gm-Message-State: AODbwcD13XH7Co3lPjIgbKS4lwuMGBhhp3c8Q3+qFCxhsOo5BrZrt+aR P9pV4+bZ/RWfTwgg0cOyMuA8fF+7bg== X-Received: by 10.80.208.130 with SMTP id v2mr28720185edd.141.1497044374783; Fri, 09 Jun 2017 14:39:34 -0700 (PDT) Original-Received: by 10.80.131.4 with HTTP; Fri, 9 Jun 2017 14:39:34 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::230 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.org gmane.lisp.guile.user:13793 Archived-At: 2017-06-09 22:56 GMT+02:00 Matt Wette : > > I think your outcome-ptr should be (bytevector->pointer (make-bytevector > (sizeof unsigned-int))) Thank you, Matt The reason why I wrote it that way is because the previous function (freexl_open) takes a pointer (a handler) and then more or less arbitrarily allocates stuff onto it The handler is meant to be passed as an argument to subsequent calls to the other funtiions of the library So I tought that the same would have happened with this outcome thing Maybe I'm wrong I'll think about this tomorrow, too Thank you very much for your suggestion !