define.htm 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
  2. <html><head>
  3. <title>define</title>
  4. </head><body>
  5. <p>[<a href="mxdoc.htm">mainpage</a>]
  6. [<a href="tags.htm">tags</a>]<br>
  7. <h1>tag: define</h1><ul><li>
  8. <a name=" define MXMODULE_ALLOC"><code># define MXMODULE_ALLOC</code></a>
  9. <p>
  10. <p><b>Turn on memory tracking</b><p>
  11. If this macro is defined the functions mx_malloc, mx_realloc and mx_free
  12. are made to keep track of memory allocated and warn from common memory allocation
  13. mistakes. If this symbol is not defined then mx_malloc, mx_realloc and mx_free
  14. just pass all arguments to the corresponding stdlib malloc, realloc, and free
  15. function. In this case no additional memory checking is done.
  16. (<a href="../include/deds/alloc.h">../include/deds/alloc.h</a>)<br>(library <a href="deds.htm">deds</a> : module <a href="deds_alloc.htm">alloc</a>)
  17. <p></li>
  18. <li>
  19. <a name=" define mx_malloc"><code># define mx_malloc</code></a>
  20. <p>
  21. <p><b>Replacement for stdlib malloc</b><p>
  22. This function is a wrapper for malloc(). If MXMODULE_ALLOC is defined then
  23. this function keeps track of memory and warns about possible memory allocation
  24. problems.
  25. (<a href="../include/deds/alloc.h">../include/deds/alloc.h</a>)<br>(library <a href="deds.htm">deds</a> : module <a href="deds_alloc.htm">alloc</a>)
  26. <p></li>
  27. <li>
  28. <a name=" define mx_realloc"><code># define mx_realloc</code></a>
  29. <p>
  30. <p><b>Replacement for stdlib realloc</b><p>
  31. This function is a wrapper for realloc(). If MXMODULE_ALLOC is defined then
  32. this function keeps track of memory and warns about possible memory allocation
  33. problems.
  34. (<a href="../include/deds/alloc.h">../include/deds/alloc.h</a>)<br>(library <a href="deds.htm">deds</a> : module <a href="deds_alloc.htm">alloc</a>)
  35. <p></li>
  36. <li>
  37. <a name=" define mx_free"><code># define mx_free</code></a>
  38. <p>
  39. <p><b>Replacement for stdlib free</b><p>
  40. This function is a wrapper for free(). If MXMODULE_ALLOC is defined then
  41. this function keeps track of memory and warns about possible memory allocation
  42. problems.
  43. (<a href="../include/deds/alloc.h">../include/deds/alloc.h</a>)<br>(library <a href="deds.htm">deds</a> : module <a href="deds_alloc.htm">alloc</a>)
  44. <p></li>
  45. <li>
  46. <a name="define false"><code>#define false</code></a>
  47. <p>
  48. <p><b>Macro for false. </b><p>
  49. (<a href="../include/deds/bool.h">../include/deds/bool.h</a>)<br>(library <a href="deds.htm">deds</a> : module <a href="deds_bool.htm">bool</a>)
  50. <p></li>
  51. <li>
  52. <a name="define true"><code>#define true</code></a>
  53. <p>
  54. <p><b>Macro for true. </b><p>
  55. (<a href="../include/deds/bool.h">../include/deds/bool.h</a>)<br>(library <a href="deds.htm">deds</a> : module <a href="deds_bool.htm">bool</a>)
  56. <p></li>
  57. <li>
  58. <a name="define MXCOLOR_alice"><code>#define MXCOLOR_alice</code></a>
  59. <p>
  60. <p><b>Macros for named colors</b><p>
  61. There are many different MXCOLOR_* macros for named colors.
  62. (<a href="../include/degfx/colors.h">../include/degfx/colors.h</a>)<br>(library <a href="degfx.htm">degfx</a> : module <a href="degfx_colors.htm">colors</a>)
  63. <p></li>
  64. <li>
  65. <a name=" define MXSCREEN"><code># define MXSCREEN</code></a>
  66. <p>
  67. <p><b>Screen bitmap</b><p>
  68. The macro MXSCREEN can be used to specify the screen redraw buffer.
  69. (<a href="../include/degfx/coregfx.h">../include/degfx/coregfx.h</a>)<br>(library <a href="degfx.htm">degfx</a> : module <a href="degfx_coregfx.htm">coregfx</a>)
  70. <p></li>
  71. <li>
  72. <a name="define mx_driver_fullscreen"><code>#define mx_driver_fullscreen</code></a>
  73. <p>
  74. <p>The fullscreen driver.
  75. (<a href="../include/degfx/driver.h">../include/degfx/driver.h</a>)<br>(library <a href="degfx.htm">degfx</a> : module <a href="degfx_driver.htm">driver</a>)
  76. <p></li>
  77. <li>
  78. <a name="define mx_driver_windowed"><code>#define mx_driver_windowed</code></a>
  79. <p>
  80. <p>The windowed driver.
  81. (<a href="../include/degfx/driver.h">../include/degfx/driver.h</a>)<br>(library <a href="degfx.htm">degfx</a> : module <a href="degfx_driver.htm">driver</a>)
  82. <p></li>
  83. <li>
  84. <a name="define mx_driver_vga"><code>#define mx_driver_vga</code></a>
  85. <p>
  86. <p>The vga driver.
  87. (<a href="../include/degfx/driver.h">../include/degfx/driver.h</a>)<br>(library <a href="degfx.htm">degfx</a> : module <a href="degfx_driver.htm">driver</a>)
  88. <p></li>
  89. <li>
  90. <a name="define mx_driver_13h"><code>#define mx_driver_13h</code></a>
  91. <p>
  92. <p>The mode 13h driver.
  93. (<a href="../include/degfx/driver.h">../include/degfx/driver.h</a>)<br>(library <a href="degfx.htm">degfx</a> : module <a href="degfx_driver.htm">driver</a>)
  94. <p></li>
  95. <li>
  96. <a name="define MXDEFAULT"><code>#define MXDEFAULT</code></a>
  97. <p>
  98. <p><b>Default integer value</b><p>
  99. MXDEFAULT is defined as a const int value that can recognized as a
  100. default value and is unlikely to occurr otherwise. This is useful for
  101. situations where a value of 0 cannot be used as a default value.
  102. (<a href="../include/detk/default.h">../include/detk/default.h</a>)<br>(library <a href="detk.htm">detk</a> : module <a href="detk_default.htm">default</a>)
  103. <p></li>
  104. </ul><p>Generated by <a href="http://www.deleveld.dds.nl/mxdoc/index.htm">MXDOC</a> 2.2 on Sun Feb 4 15:16:25 2007
  105. </body></html>