mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-24 20:30:28 +02:00
* numbers.h, numbers.c, discouraged.h, discouraged.c (scm_short2num,
scm_ushort2num, scm_int2num, scm_uint2num, scm_long2num, scm_ulong2num, scm_size2num, scm_ptrdiff2num, scm_num2short, scm_num2ushort, scm_num2int, scm_num2uint, scm_num2long, scm_num2ulong, scm_num2size, scm_num2ptrdiff, scm_long_long2num, scm_ulong_long2num, scm_num2long_long, scm_num2ulong_long): Discouraged by moving to discouraged.h and discouraged.c and reimplementing in terms of scm_from_* and scm_to_*. Changed all uses to the new scm_from_* and scm_to_* functions.
This commit is contained in:
parent
531bf3e6a8
commit
b9bd8526f0
28 changed files with 232 additions and 221 deletions
|
@ -151,9 +151,9 @@ SCM_DEFINE (scm_system_star, "system*", 0, 0, 1,
|
|||
execargv = allocate_string_pointers (args);
|
||||
|
||||
/* make sure the child can't kill us (as per normal system call) */
|
||||
sig_ign = scm_long2num ((long) SIG_IGN);
|
||||
sigint = scm_long2num (SIGINT);
|
||||
sigquit = scm_long2num (SIGQUIT);
|
||||
sig_ign = scm_from_long ((unsigned long) SIG_IGN);
|
||||
sigint = scm_from_long (SIGINT);
|
||||
sigquit = scm_from_long (SIGQUIT);
|
||||
oldint = scm_sigaction (sigint, sig_ign, SCM_UNDEFINED);
|
||||
oldquit = scm_sigaction (sigquit, sig_ign, SCM_UNDEFINED);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue