From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: Emacs interface for Guix Date: Tue, 22 Jul 2014 13:34:48 +0400 Message-ID: <87r41dpwhz.fsf@gmail.com> References: <87zjg9rgih.fsf@gmail.com> <871ttlgzfl.fsf@gnu.org> <87vbqxqg3n.fsf@gmail.com> <87ha2fm3gk.fsf@gnu.org> <87r41hrdks.fsf@gmail.com> <8738dxe2jq.fsf@gnu.org> <87mwc4qzd5.fsf@gmail.com> <878uno9l7b.fsf@gnu.org> <87iomsq8fe.fsf@gmail.com> <874myb95j0.fsf@gnu.org> <87a983qken.fsf@gmail.com> <87k3764s1c.fsf@gnu.org> <8761iqr1my.fsf@gmail.com> <87zjg21k0d.fsf@gnu.org> <87y4vlq5h1.fsf@gmail.com> <87y4vlanq0.fsf@taylan.uni.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:32982) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9WTJ-0003Gu-9U for guix-devel@gnu.org; Tue, 22 Jul 2014 05:35:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X9WTA-0005ri-8S for guix-devel@gnu.org; Tue, 22 Jul 2014 05:34:57 -0400 In-Reply-To: <87y4vlanq0.fsf@taylan.uni.cx> (Taylan Ulrich Bayirli's message of "Tue, 22 Jul 2014 08:53:27 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Taylan Ulrich Bayirli/Kammer Cc: guix-devel@gnu.org Taylan Ulrich Bayirli/Kammer (2014-07-22 10:53 +0400) wrote: >> [...] get an object by its address (?), [...] > > (pointer->scm (make-pointer address)) > > More info at (info "(guile) Foreign Variables"). > > Warning: can lead to Scheme code that segfaults! :-) > > Taylan Ludovic Court=C3=A8s (2014-07-22 12:41 +0400) wrote: > I was going to suggest that, but yeah, a vhash is more reasonable. :-) Ah, that's cool, thanks for the information, guys (I'm going to stay on vhash). -- Alex Kost