Mercurial > hg > xemacs-beta
annotate src/syspwd.h @ 5581:56144c8593a8
Mechanically change INT to FIXNUM in our sources.
src/ChangeLog addition:
2011-10-09 Aidan Kehoe <kehoea@parhasard.net>
[...]
Mechanically change INT (where it refers to non-bignum Lisp
integers) to FIXNUM in our sources. Done for the following
functions, enums, and macros: Lisp_Type_Int_Even,
Lisp_Type_Int_Odd, INT_GCBITS, INT_VALBITS, make_int(), INTP(),
XINT(), CHECK_INT(), XREALINT(), INT_PLUS(), INT_MINUS(),
EMACS_INT_MAX (to MOST_POSITIVE_FIXNUM), EMACS_INT_MIN (to
MOST_NEGATIVE_FIXNUM), NUMBER_FITS_IN_AN_EMACS_INT() to
NUMBER_FITS_IN_A_FIXNUM(), XFLOATINT, XCHAR_OR_INT, INT_OR_FLOAT.
The EMACS_INT typedef was not changed, it does not describe
non-bignum Lisp integers.
Script that did the change available in
http://mid.gmane.org/20067.17650.181273.12014@parhasard.net .
modules/ChangeLog addition:
2011-10-09 Aidan Kehoe <kehoea@parhasard.net>
[...]
Mechanically change INT to FIXNUM, where the usage describes non-bignum
Lisp integers. See the src/ChangeLog entry for more details.
man/ChangeLog addition:
2011-10-09 Aidan Kehoe <kehoea@parhasard.net>
* internals/internals.texi (How Lisp Objects Are Represented in C):
* internals/internals.texi (Integers and Characters):
Mechanically change INT to FIXNUM, where the usage describes non-bignum
Lisp integers.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Sun, 09 Oct 2011 09:51:57 +0100 |
parents | 308d34e9f07d |
children | c30fdcab7bc8 |
rev | line source |
---|---|
428 | 1 /* |
2 | |
3 This file is part of XEmacs. | |
4 | |
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
867
diff
changeset
|
5 XEmacs is free software: you can redistribute it and/or modify it |
428 | 6 under the terms of the GNU General Public License as published by the |
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
867
diff
changeset
|
7 Free Software Foundation, either version 3 of the License, or (at your |
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
867
diff
changeset
|
8 option) any later version. |
428 | 9 |
10 XEmacs is distributed in the hope that it will be useful, but WITHOUT | |
11 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
12 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
13 for more details. | |
14 | |
15 You should have received a copy of the GNU General Public License | |
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
867
diff
changeset
|
16 along with XEmacs. If not, see <http://www.gnu.org/licenses/>. */ |
428 | 17 |
18 /* Synched up with: Not really in FSF. */ | |
19 | |
442 | 20 #ifndef WIN32_NATIVE |
21 | |
22 # include <pwd.h> | |
23 | |
24 #else /* WIN32_NATIVE */ | |
428 | 25 |
771 | 26 struct passwd |
27 { | |
28 char *pw_name; | |
29 char *pw_passwd; | |
30 int pw_uid; | |
31 int pw_gid; | |
32 int pw_quota; | |
33 char *pw_gecos; | |
34 char *pw_dir; | |
35 char *pw_shell; | |
442 | 36 }; |
37 | |
771 | 38 #ifdef emacs |
39 | |
40 struct passwd *getpwuid (uid_t uid); | |
867 | 41 struct passwd *getpwnam (const Ibyte *name); |
771 | 42 uid_t getuid (void); |
43 uid_t geteuid (void); | |
44 gid_t getgid (void); | |
45 gid_t getegid (void); | |
46 | |
47 #endif /* emacs */ | |
48 | |
442 | 49 #endif /* WIN32_NATIVE */ |
771 | 50 |
51 #ifdef emacs | |
52 | |
867 | 53 struct passwd *qxe_getpwnam (const Ibyte *name); |
771 | 54 struct passwd *qxe_getpwuid (uid_t uid); |
55 struct passwd *qxe_getpwent (void); | |
56 | |
57 #endif /* emacs */ | |
58 |