[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: vm_size_t is unsigned, so libps should use unsigned ints.
From: |
Thomas Bushnell, BSG |
Subject: |
Re: vm_size_t is unsigned, so libps should use unsigned ints. |
Date: |
02 Jun 2002 12:55:00 -0700 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
nisse@lysator.liu.se (Niels Möller) writes:
> I'm not sure you're really asking about the C details, but if you are,
> the answer is something like
>
> #define COMPARE(type) \
> int \
> ps_cmp_##type(type a, type b) { ... }
>
> Note that there must be no space between COMPARE and (, and that you
> need the token concatenation operator ##.
Preferred syntax (which, please use in Hurd code), is to put spaces
around the ## concatenation operator.