libyasm.h 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. /**
  2. * \file libyasm.h
  3. * \brief YASM library primary header file.
  4. *
  5. * \license
  6. * Copyright (C) 2003-2007 Peter Johnson
  7. *
  8. * Redistribution and use in source and binary forms, with or without
  9. * modification, are permitted provided that the following conditions
  10. * are met:
  11. * - Redistributions of source code must retain the above copyright
  12. * notice, this list of conditions and the following disclaimer.
  13. * - Redistributions in binary form must reproduce the above copyright
  14. * notice, this list of conditions and the following disclaimer in the
  15. * documentation and/or other materials provided with the distribution.
  16. *
  17. * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND OTHER CONTRIBUTORS ``AS IS''
  18. * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  19. * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  20. * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR OTHER CONTRIBUTORS BE
  21. * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
  22. * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
  23. * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
  24. * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
  25. * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  26. * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  27. * POSSIBILITY OF SUCH DAMAGE.
  28. * \endlicense
  29. */
  30. #ifndef YASM_LIB_H
  31. #define YASM_LIB_H
  32. #ifdef YASM_PYXELATOR
  33. typedef struct __FILE FILE;
  34. typedef struct __va_list va_list;
  35. typedef unsigned long size_t;
  36. typedef unsigned long uintptr_t;
  37. #else
  38. #include <stdio.h>
  39. #include <stdarg.h>
  40. #include <libyasm-stdint.h>
  41. #endif
  42. #include <libyasm/compat-queue.h>
  43. #include <libyasm/coretype.h>
  44. #include <libyasm/valparam.h>
  45. #include <libyasm/linemap.h>
  46. #include <libyasm/errwarn.h>
  47. #include <libyasm/intnum.h>
  48. #include <libyasm/floatnum.h>
  49. #include <libyasm/expr.h>
  50. #include <libyasm/value.h>
  51. #include <libyasm/symrec.h>
  52. #include <libyasm/bytecode.h>
  53. #include <libyasm/section.h>
  54. #include <libyasm/insn.h>
  55. #include <libyasm/arch.h>
  56. #include <libyasm/dbgfmt.h>
  57. #include <libyasm/objfmt.h>
  58. #include <libyasm/listfmt.h>
  59. #include <libyasm/parser.h>
  60. #include <libyasm/preproc.h>
  61. #include <libyasm/file.h>
  62. #include <libyasm/module.h>
  63. #include <libyasm/hamt.h>
  64. #include <libyasm/md5.h>
  65. #endif