home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Tools / Languages / Python 1.1 / Include / allobjects.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-09-14  |  2.4 KB  |  85 lines  |  [TEXT/KAHL]

  1. #ifndef Py_ALLOBJECTS_H
  2. #define Py_ALLOBJECTS_H
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6.  
  7. /***********************************************************
  8. Copyright 1991, 1992, 1993, 1994 by Stichting Mathematisch Centrum,
  9. Amsterdam, The Netherlands.
  10.  
  11.                         All Rights Reserved
  12.  
  13. Permission to use, copy, modify, and distribute this software and its 
  14. documentation for any purpose and without fee is hereby granted, 
  15. provided that the above copyright notice appear in all copies and that
  16. both that copyright notice and this permission notice appear in 
  17. supporting documentation, and that the names of Stichting Mathematisch
  18. Centrum or CWI not be used in advertising or publicity pertaining to
  19. distribution of the software without specific, written prior permission.
  20.  
  21. STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO
  22. THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
  23. FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE
  24. FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  25. WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  26. ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
  27. OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  28.  
  29. ******************************************************************/
  30.  
  31. /* Include nearly all Python header files */
  32.  
  33. /* Some systems (well, NT anyway!) require special declarations for
  34.  data items imported from dynamic modules.  Note that this defn is
  35.  only turned on for the modules built as DL modules, not for python
  36.  itself.
  37. */
  38. #define DL_IMPORT /* Save lots of #else/#if's */
  39. #ifdef USE_DL_IMPORT
  40. #ifdef NT
  41. #undef DL_IMPORT
  42. #define DL_IMPORT __declspec(dllimport)
  43. #endif /* NT */
  44. #endif /* USE_DL_IMPORT */
  45.  
  46. #ifdef HAVE_CONFIG_H
  47. #include "config.h"
  48. #endif
  49.  
  50. #include <stdio.h>
  51. #include <string.h>
  52.  
  53. #include "myproto.h"
  54.  
  55. #include "object.h"
  56. #include "objimpl.h"
  57.  
  58. #include "accessobject.h"
  59. #include "intobject.h"
  60. #include "longobject.h"
  61. #include "floatobject.h"
  62. #include "rangeobject.h"
  63. #include "stringobject.h"
  64. #include "tupleobject.h"
  65. #include "listobject.h"
  66. #include "dictobject.h"
  67. #include "methodobject.h"
  68. #include "moduleobject.h"
  69. #include "funcobject.h"
  70. #include "classobject.h"
  71. #include "fileobject.h"
  72.  
  73. #include "errors.h"
  74. #include "mymalloc.h"
  75.  
  76. #include "modsupport.h"
  77. #include "ceval.h"
  78.  
  79. extern void fatal PROTO((char *));
  80.  
  81. #ifdef __cplusplus
  82. }
  83. #endif
  84. #endif /* !Py_ALLOBJECTS_H */
  85.