home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / mitsch75.zip / scheme-7_5_17-src.zip / scheme-7.5.17 / src / microcode / prename.h < prev    next >
C/C++ Source or Header  |  1999-01-02  |  2KB  |  58 lines

  1. /* -*-C-*-
  2.  
  3. $Id: prename.h,v 1.9 1999/01/02 06:11:34 cph Exp $
  4.  
  5. Copyright (c) 1988-1999 Massachusetts Institute of Technology
  6.  
  7. This program is free software; you can redistribute it and/or modify
  8. it under the terms of the GNU General Public License as published by
  9. the Free Software Foundation; either version 2 of the License, or (at
  10. your option) any later version.
  11.  
  12. This program is distributed in the hope that it will be useful, but
  13. WITHOUT ANY WARRANTY; without even the implied warranty of
  14. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  15. General Public License for more details.
  16.  
  17. You should have received a copy of the GNU General Public License
  18. along with this program; if not, write to the Free Software
  19. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  20. */
  21.  
  22. /* Definitions of aliases for primitives. */
  23.  
  24. #ifndef SCM_PRENAME_H
  25. #define SCM_PRENAME_H
  26.  
  27. struct primitive_alias_s
  28. {
  29.   char * alias;
  30.   char * name;
  31. };
  32.  
  33. static struct primitive_alias_s primitive_aliases [] =
  34. {
  35.   { "FALSE?", "NOT" },
  36.   { "PRIMITIVE-TYPE", "OBJECT-TYPE" },
  37.   { "PRIMITIVE-TYPE?", "OBJECT-TYPE?" },
  38.   { "&MAKE-OBJECT", "PRIMITIVE-OBJECT-SET-TYPE" },
  39.   { "SYSTEM-MEMORY-REF", "PRIMITIVE-OBJECT-REF" },
  40.   { "PRIMITIVE-OBJECT-NEW-TYPE", "PRIMITIVE-OBJECT-SET-TYPE" },
  41.   { "FILE-CLOSE-CHANNEL", "CHANNEL-CLOSE" },
  42.   { "GET-NEXT-INTERRUPT-CHARACTER", "TTY-NEXT-INTERRUPT-CHAR" },
  43.   { "REMOVE-FILE", "FILE-REMOVE" },
  44.   { "RENAME-FILE", "FILE-RENAME" },
  45.   { "COPY-FILE", "FILE-COPY" },
  46.   { "MAKE-DIRECTORY", "DIRECTORY-MAKE" },
  47.   { "SCREEN-X-SIZE", "TTY-X-SIZE" },
  48.   { "SCREEN-Y-SIZE", "TTY-Y-SIZE" },
  49.   { "FILE-SYMLINK?", "FILE-SOFT-LINK?" },
  50.   { "X-GRAPHICS-SET-CLASS-HINT", "X-WINDOW-SET-CLASS-HINT" },
  51.   { "CURRENT-FILE-TIME", "ENCODED-TIME" }
  52. };
  53.  
  54. #define N_PRIMITIVE_ALIASES                        \
  55.   ((sizeof (primitive_aliases)) / (sizeof (struct primitive_alias_s)))
  56.  
  57. #endif /* SCM_PRENAME_H */
  58.