[frogs] Re: T1055: Avoid using deprecated %module-public-interface in guile initialisation. (issue1160044) |
[ Thread Index |
Date Index
| More lilynet.net/frogs Archives
]
- To: Neil Puttock <n.puttock@xxxxxxxxx>
- Subject: [frogs] Re: T1055: Avoid using deprecated %module-public-interface in guile initialisation. (issue1160044)
- From: Patrick McCarty <pnorcks@xxxxxxxxx>
- Date: Sun, 1 Aug 2010 14:37:30 -0700
- Cc: ian@xxxxxxxxxxxx, carl.d.sorensen@xxxxxxxxx, hanwenn@xxxxxxxxx, frogs@xxxxxxxxxxx, lilypond-devel@xxxxxxx, reply@xxxxxxxxxxxxxxxxxxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=OnORpcrZl+St+p5FBW52X3yH/LT+BURaUfP89y8UaNI=; b=eB6NoDmtgG9L3JHerCyDpHNRAVSrd2TDEabsqet4i+hnxpyUwtHLlMSxpWPJgobfUp tsKBLLPPUO6xE8VIYiCHYVioxk6qYGfhQgF1GZMyDojabP7P/Y0RYimJH7WSgfmlBomN FidL7XnpBNjvHM0XHNUADtDzedMfm+Qmi9/KE=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Im4EJVXoNwRCVICT2DhtovY085pfUFzMNYiAssb9T1LgJ13DIWSXUNvJqVix1PHnFm tUHLTszYL4U4iiQ1R9gqNrwywnPDGNyUdsPd/yEtohyALzwP515kzQGYTOtV6efYUBmP a8PMmaZVtB4xN5wPcxVkwvie2G4dUNSzmUXX4=
On Sun, Aug 1, 2010 at 2:02 PM, Neil Puttock <n.puttock@xxxxxxxxx> wrote:
> On 1 August 2010 21:49, Patrick McCarty <pnorcks@xxxxxxxxx> wrote:
>
>> I think I found the problem.
>>
>> With Guile 1.9, `module-public-interface' doesn't return an interface
>> for `the-scm-module', which we rely on:
>>
>> scheme@(guile-user)> (module-public-interface the-scm-module)
>> $1 = #f
>> scheme@(guile-user)>
>>
>> I'll report this upstream.
>
> OK. I was just about to reply, since I've seen that error using 1.8
> (trying to use `resolve-interface' instead of
> module-public-interface).
This is quite interesting. :)
I just did a little more research, and these three calls all return
the same interface, but the last one doesn't work with Guile 1.9:
guile> (resolve-interface '(guile))
#<interface (guile) 7f3f91117840>
guile> (module-public-interface the-root-module)
#<interface (guile) 7f3f91117840>
guile> (module-public-interface the-scm-module)
#<interface (guile) 7f3f91117840>
guile>
So, it looks like we might want to do this:
- SCM scm_module = ly_lily_module_constant ("the-scm-module");
+ SCM scm_module = ly_lily_module_constant ("the-root-module");
Thanks,
Patrick
---
----
Join the Frogs!