Skip to content
Snippets Groups Projects
  1. Jan 06, 2006
  2. Dec 29, 2005
  3. Dec 22, 2005
  4. Dec 21, 2005
  5. Dec 20, 2005
  6. Dec 19, 2005
  7. Dec 16, 2005
  8. Dec 15, 2005
    • deuce's avatar
      Beginnings of a solution to the vararg problem. This problem surfaces on · 1e974066
      deuce authored
      a number of non-x86 archetectures, most notably I64 and Linux/PPC.
      
      Essentially, the problem is that there is NO way to portably contruct a
      va_list at run-time.  Currently, this is done in (at least) execmisc.cpp
      (and probobly in js_global.c or wherever format() and friends are)
      
      This provides an alternate method of handling such issues which could
      (potentially) solve the problem as well as add float/double support.
      Comments are encouraged.  This is *NOT* part of the xpdev build and will
      not be until it is tested and the marked ToDo items are dealt with.
      Further, it most likely won't be *USED* in Synchronet until v4, or until
      it recieves heavy testing on a very wide range of platforms and format
      specifiers.
      
      xp_*printf() functions for all the standard *printf() functions should be
      written, including asprintf() and vasprintf() from the GNU C library.
      This will require a new type argument (XP_PRINTF_TYPE_AUTO perhaps) which
      will assume that the passed argument is the correct type.
      1e974066
Loading