~haggai-eran/nux/rtl-rebased

« back to all changes in this revision

Viewing changes to NuxCore/NumberConversion.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:
33
33
      @param  digit A TCHAR string.
34
34
      @return A double value translated from a TCHAR string.
35
35
  */
36
 
  t_double CharToDouble (const TCHAR *digit);
 
36
  double CharToDouble (const TCHAR *digit);
37
37
 
38
38
//! Convert a double to an NString.
39
39
  /*!
47
47
      @param  digit A TCHAR string.
48
48
      @return A 32 bits long value translated from a TCHAR string.
49
49
  */
50
 
  t_s32 CharToInteger (const TCHAR *digit);
 
50
  int CharToInteger (const TCHAR *digit);
51
51
 
52
52
//! Convert an integer to a tstring.
53
53
  /*!
62
62
      @param  digit A TCHAR string.
63
63
      @return An integer value.
64
64
  */
65
 
  t_int IntegerToChar (const TCHAR *digit);
 
65
  int IntegerToChar (const TCHAR *digit);
66
66
 
67
67
//! Convert an Hex TCHAR string to an integer value.
68
68
  /*!
69
69
      @param  value A TCHAR string.
70
70
      @return An integer value.
71
71
  */
72
 
  t_u32 HexCharToInteger (const TCHAR *s);
 
72
  unsigned int HexCharToInteger (const TCHAR *s);
73
73
 
74
74
 
75
75
}