guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Porting guile-xlib


From: Mike Gran
Subject: Re: Porting guile-xlib
Date: Sun, 27 Jan 2013 07:36:45 -0800 (PST)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]