/src/core/stdc/stddef.d

http://github.com/AlexeyProkhin/druntime · D · 30 lines · 12 code · 4 blank · 14 comment · 0 complexity · b134f7c8f14acbc7b82e803f7abc3c6f MD5 · raw file

  1. /**
  2. * D header file for C99.
  3. *
  4. * Copyright: Copyright Sean Kelly 2005 - 2009.
  5. * License: <a href="http://www.boost.org/LICENSE_1_0.txt">Boost License 1.0</a>.
  6. * Authors: Sean Kelly
  7. * Standards: ISO/IEC 9899:1999 (E)
  8. */
  9. /* Copyright Sean Kelly 2005 - 2009.
  10. * Distributed under the Boost Software License, Version 1.0.
  11. * (See accompanying file LICENSE or copy at
  12. * http://www.boost.org/LICENSE_1_0.txt)
  13. */
  14. module core.stdc.stddef;
  15. extern (C):
  16. @trusted: // Types only.
  17. nothrow:
  18. // size_t and ptrdiff_t are defined in the object module.
  19. version( Windows )
  20. {
  21. alias wchar wchar_t;
  22. }
  23. else
  24. {
  25. alias dchar wchar_t;
  26. }