extern.h 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. /* This file is part of the GNU libxmi package. Copyright (C) 1998, 1999,
  2. 2000, 2005, Free Software Foundation, Inc.
  3. The GNU libxmi package is free software. You may redistribute it
  4. and/or modify it under the terms of the GNU General Public License as
  5. published by the Free Software foundation; either version 2, or (at your
  6. option) any later version.
  7. The GNU libxmi package is distributed in the hope that it will be
  8. useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  10. General Public License for more details.
  11. You should have received a copy of the GNU General Public License along
  12. with the GNU plotutils package; see the file COPYING. If not, write to
  13. the Free Software Foundation, Inc., 51 Franklin St., Fifth Floor,
  14. Boston, MA 02110-1301, USA. */
  15. /* If libxmi is compiled standalone, this header file is #included. It
  16. renames the global symbols by prepending each name with an underscore,
  17. to avoid polluting the user-level namespace. */
  18. /* Note: if libxmi is compiled as part of libplot/libplotter, the extern.h
  19. that is #included is a different file. That file renames each global
  20. symbol by prepending two underscores, rather than a single underscore.
  21. That alteration will permit an application to link with both
  22. libplot/libplotter and libxmi, if desired. */
  23. #define mi_xmalloc _mi_xmalloc
  24. #define mi_xcalloc _mi_xcalloc
  25. #define mi_xrealloc _mi_xrealloc
  26. #define miAddSpansToPaintedSet _miAddSpansToPaintedSet
  27. #define miDrawArcs_r_internal _miDrawArcs_r_internal
  28. #define miDrawArcs_internal _miDrawArcs_internal
  29. #define miDrawLines_internal _miDrawLines_internal
  30. #define miDrawRectangles_internal _miDrawRectangles_internal
  31. #define miPolyArc_r _miPolyArc_r
  32. #define miPolyArc _miPolyArc
  33. #define miFillArcs_internal _miFillArcs_internal
  34. #define miFillRectangles_internal _miFillRectangles_internal
  35. #define miFillSppPoly _miFillSppPoly
  36. #define miFillPolygon_internal _miFillPolygon_internal
  37. #define miFillConvexPoly _miFillConvexPoly
  38. #define miFillGeneralPoly _miFillGeneralPoly
  39. #define miDrawPoints_internal _miDrawPoints_internal
  40. #define miCreateETandAET _miCreateETandAET
  41. #define miloadAET _miloadAET
  42. #define micomputeWAET _micomputeWAET
  43. #define miInsertionSort _miInsertionSort
  44. #define miFreeStorage _miFreeStorage
  45. #define miQuickSortSpansY _miQuickSortSpansY
  46. #define miUniquifyPaintedSet _miUniquifyPaintedSet
  47. #define miWideDash _miWideDash
  48. #define miStepDash _miStepDash
  49. #define miWideLine _miWideLine
  50. #define miZeroPolyArc_r _miZeroPolyArc_r
  51. #define miZeroPolyArc _miZeroPolyArc
  52. #define miZeroLine _miZeroLine
  53. #define miZeroDash _miZeroDash