y_va.inc 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. /**
  2. * <library name="y_va">
  3. * <section>
  4. * Description
  5. * </section>
  6. * This library currently provides two functions - va_printf and va_format
  7. * which perform printf and format using variable arguments passed to another
  8. * function.
  9. *
  10. * This is bsed on the variable parameter passing method based on code by Zeex.
  11. * See page 15 of the code optimisations topic.
  12. * <section>
  13. * Version
  14. * </section>
  15. * 1.0
  16. * </library>
  17. *//** *//*
  18. Legal:
  19. Version: MPL 1.1
  20. The contents of this file are subject to the Mozilla Public License Version
  21. 1.1 the "License"; you may not use this file except in compliance with
  22. the License. You may obtain a copy of the License at
  23. http://www.mozilla.org/MPL/
  24. Software distributed under the License is distributed on an "AS IS" basis,
  25. WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  26. for the specific language governing rights and limitations under the
  27. License.
  28. The Original Code is the YSI framework.
  29. The Initial Developer of the Original Code is Alex "Y_Less" Cole.
  30. Portions created by the Initial Developer are Copyright C 2011
  31. the Initial Developer. All Rights Reserved.
  32. Contributors:
  33. Y_Less
  34. koolk
  35. JoeBullet/Google63
  36. g_aSlice/Slice
  37. Misiur
  38. samphunter
  39. tianmeta
  40. maddinat0r
  41. spacemud
  42. Crayder
  43. Dayvison
  44. Ahmad45123
  45. Zeex
  46. irinel1996
  47. Yiin-
  48. Chaprnks
  49. Konstantinos
  50. Masterchen09
  51. Southclaws
  52. PatchwerkQWER
  53. m0k1
  54. paulommu
  55. udan111
  56. Thanks:
  57. JoeBullet/Google63 - Handy arbitrary ASM jump code using SCTRL.
  58. ZeeX - Very productive conversations.
  59. koolk - IsPlayerinAreaEx code.
  60. TheAlpha - Danish translation.
  61. breadfish - German translation.
  62. Fireburn - Dutch translation.
  63. yom - French translation.
  64. 50p - Polish translation.
  65. Zamaroht - Spanish translation.
  66. Los - Portuguese translation.
  67. Dracoblue, sintax, mabako, Xtreme, other coders - Producing other modes for
  68. me to strive to better.
  69. Pixels^ - Running XScripters where the idea was born.
  70. Matite - Pestering me to release it and using it.
  71. Very special thanks to:
  72. Thiadmer - PAWN, whose limits continue to amaze me!
  73. Kye/Kalcor - SA:MP.
  74. SA:MP Team past, present and future - SA:MP.
  75. Optional plugins:
  76. Gamer_Z - GPS.
  77. Incognito - Streamer.
  78. Me - sscanf2, fixes2, Whirlpool.
  79. */
  80. #if !defined _INC_y_va
  81. #tryinclude "y_va\y_va_entry"
  82. #endif
  83. #if !defined _INC_y_va
  84. #tryinclude "YSI_Coding\y_va\y_va_entry"
  85. #endif
  86. #if !defined _INC_y_va
  87. #tryinclude "YSI\YSI_Coding\y_va\y_va_entry"
  88. #endif
  89. #if !defined _INC_y_va
  90. #tryinclude <YSI_Coding\y_va\y_va_entry>
  91. #endif
  92. #if !defined _INC_y_va
  93. #tryinclude <YSI\YSI_Coding\y_va\y_va_entry>
  94. #endif
  95. #if !defined _INC_y_va
  96. #error Could not find y_va
  97. #endif