unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Mike Gran <spk121@yahoo.com>
To: Mark Witmer <mark@markwitmer.com>
Cc: "guile-user@gnu.org" <guile-user@gnu.org>
Subject: Re: Porting guile-xlib
Date: Sun, 27 Jan 2013 07:36:45 -0800 (PST)	[thread overview]
Message-ID: <1359301005.68591.YahooMailNeo@web120405.mail.ne1.yahoo.com> (raw)
In-Reply-To: <87txq2lm1q.fsf@markwitmer.com>

Hi Mark




> Am I safe to use "scm_from_int" in its place and other general SCM
> numeric functions instead of the immediate number ones? These seem to
> make up a large number of the deprecated functions in use by this
> library.

Basically yes.

But when converting a scheme integer back to a C integer with 
scm_to_int and associated functions, remember that they can throw an
error if your Guile number is too big to fit in the C representation.

-Mike



  reply	other threads:[~2013-01-27 15:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-27 13:31 Porting guile-xlib Mark Witmer
2013-01-27 14:48 ` Mark Witmer
2013-01-27 15:36   ` Mike Gran [this message]
2013-01-27 14:50 ` Ludovic Courtès
2013-01-27 19:14 ` Gabriel Schnoering

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1359301005.68591.YahooMailNeo@web120405.mail.ne1.yahoo.com \
    --to=spk121@yahoo.com \
    --cc=guile-user@gnu.org \
    --cc=mark@markwitmer.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).