/simpletypesystem/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/simpletypesystem/trunk

« back to all changes in this revision

Viewing changes to src/defs.h

  • Committer: Gustav Hartvigsson
  • Date: 2015-08-30 14:13:09 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20150830141309-kx9s3xdy4x2iegl9
* Readded s_wstring_to_string function*
  * added @depricated mark to the documentation.
  * added a warning to the function that it should not be used.

* Added FreeFunc to SMatrixRowInformation.
* Added function pointers to [from,to]_json functions to SMatrixRowInformation. 
* Added SMatrixRowInformation to SMatrix so we can do to/from JSON operations in the future, and better frees.

* Added UCHAR and USTIRNG to the S_TYPE enum and STypeName array.

* Created documentation group for Utils.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
 
7
7
#include <limits.h>
8
8
#include <stddef.h>
 
9
#include <uchar.h>
9
10
 
10
11
/** @file
11
12
 * 
91
92
  S_TYPE_SHORT,
92
93
  S_TYPE_CHAR,
93
94
  S_TYPE_WCHAR,
 
95
  S_TYPE_UCHAR, /**< char32_t/uchar */
94
96
  S_TYPE_UINT,
95
97
  S_TYPE_ULONG,
96
98
  S_TYPE_USHORT,
97
99
  S_TYPE_BOOLEAN,
98
100
  S_TYPE_STRING,
99
 
  S_TYPE_WSTRING,
 
101
  S_TYPE_WSTRING, /**< Plarform specific wchar_t */
 
102
  S_TYPE_USTRING, /**< char32_t String.*/
100
103
  S_TYPE_UNUSED_0,
101
104
  S_TYPE_UNUSED_1,
102
105
  S_TYPE_UNUSED_2,
117
120
  "SHORT",
118
121
  "CHAR",
119
122
  "WCHAR",
 
123
  "UCHAR", /*< char32_t */
120
124
  "UINT",
121
125
  "ULONG",
122
126
  "USHORT"
123
127
  "BOOLEAN",
124
128
  "STRING",
125
129
  "WSTRING",
 
130
  "USTRING",
126
131
  "UNUSED_0/INVALID",
127
132
  "UNUSED_1/INVALID",
128
133
  "UNUSED_2/INVALID",