~haggai-eran/nux/rtl-rebased

« back to all changes in this revision

Viewing changes to NuxCore/NuxCore.h

  • Committer: Jay Taoko
  • Date: 2011-10-21 23:49:15 UTC
  • mfrom: (508.1.2 nux-20)
  • Revision ID: jay.taoko@canonical.com-20111021234915-hnzakb5ndebica8i
* Removed custom Nux types: t_u32, t_s32, t_bool, ...

Show diffs side-by-side

added added

removed removed

Lines of Context:
137
137
{
138
138
 
139
139
// Variable arguments.
140
 
  t_u32 GetVariableArgs (TCHAR *Dest, t_u32 Size, t_u32 Count, const TCHAR*& Fmt, va_list ArgPtr);
141
 
  t_u32 GetVariableArgsAnsi (ANSICHAR *Dest, t_u32 Size, t_u32 Count, const ANSICHAR*& Fmt, va_list ArgPtr);
 
140
  unsigned int GetVariableArgs (TCHAR *Dest, unsigned int Size, unsigned int Count, const TCHAR*& Fmt, va_list ArgPtr);
 
141
  unsigned int GetVariableArgsAnsi (ANSICHAR *Dest, unsigned int Size, unsigned int Count, const ANSICHAR*& Fmt, va_list ArgPtr);
142
142
 
143
143
 
144
144
#define GET_VARARGS(msg, size, len, fmt)            \
388
388
#endif
389
389
 
390
390
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
391
 
  extern const t_bool GNoDialog;         // Set to true to disable the popping of dialog box. The message will go to the log.
 
391
  extern const bool GNoDialog;         // Set to true to disable the popping of dialog box. The message will go to the log.
392
392
 
393
393
#ifdef NUX_VISUAL_STUDIO_2003
394
394
  //Visual Studio C++ 2003 doesn't support it, but there is a workaround:
508
508
  {
509
509
    return b;
510
510
  }
511
 
  static inline t_u32        VAType (t_u32 ui)
 
511
  static inline unsigned int        VAType (unsigned int ui)
512
512
  {
513
513
    return ui;
514
514
  }
515
 
  static inline t_int         VAType (t_s32 i)
 
515
  static inline int         VAType (int i)
516
516
  {
517
517
    return i;
518
518
  }
519
 
  static inline t_u64         VAType (t_u64 qw)
 
519
  static inline unsigned long long         VAType (unsigned long long qw)
520
520
  {
521
 
    return qw;  // possible conflict with t_size when compiling in 64 bits
 
521
    return qw;  // possible conflict with size_t when compiling in 64 bits
522
522
  }
523
 
  static inline t_s64         VAType (t_s64 sqw)
 
523
  static inline long long         VAType (long long sqw)
524
524
  {
525
525
    return sqw;
526
526
  }