emacs-devel
[Top][All Lists]
Advanced

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

Macro CHECK_NUMBER?


From: Pavel Janík
Subject: Macro CHECK_NUMBER?
Date: Wed, 24 Oct 2001 22:06:00 +0200
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1.50

Hi,

in lisp.h we have:

#define CHECK_NUMBER(x, i) \
  do { if (!INTEGERP ((x))) x = wrong_type_argument (Qintegerp, (x)); } while 
(0)

What is the purpose of having two arguments? What is the meaning of i?
Things like this should IMHO: a. be commented or b. not be present in the
sources (or c. I should buy new glasses).

Thanks for the explanation.
-- 
Pavel Janík

die_if_kernel("Whee... Hello Mr. Penguin", current->tss.kregs);
                  -- 2.2.16 arch/sparc/kernel/traps.c



reply via email to

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