mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-05 06:50:21 +02:00
* scm_validate.h (SCM_NUM2LONG_DEF): Fix this macro to just use
def, not SCM_MAKINUM(def); thanks Janis Bzerins!
This commit is contained in:
parent
5159424f52
commit
72158b7406
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: scm_validate.h,v 1.17 2000-01-12 01:51:18 gjb Exp $ */
|
||||
/* $Id: scm_validate.h,v 1.18 2000-01-14 17:35:13 gjb Exp $ */
|
||||
/* Copyright (C) 1999 Free Software Foundation, Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
|
@ -73,7 +73,7 @@
|
|||
|
||||
#define SCM_NUM2LONG(pos,arg) (scm_num2long(arg, (char *) pos, FUNC_NAME))
|
||||
|
||||
#define SCM_NUM2LONG_DEF(pos,arg,def) (SCM_UNBNDP(arg)?SCM_MAKINUM(def):(scm_num2long(arg, (char *) pos, FUNC_NAME)))
|
||||
#define SCM_NUM2LONG_DEF(pos,arg,def) (SCM_UNBNDP(arg)?def:(scm_num2long(arg, (char *) pos, FUNC_NAME)))
|
||||
|
||||
#define SCM_NUM2LONG_LONG(pos,arg) (scm_num2long_long(arg, (char *) pos, FUNC_NAME))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue