/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/utils.h

  • Committer: Gustav Hartvigsson
  • Date: 2015-08-27 15:01:32 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20150827150132-pwijpi0k2f4f96rg
* Working on SMatrix to finish it off.
* Added (non working?) s_wstiring_to_string () to convert Wide Strings (wchar_t *) to Byte Strings (char *).
* fixed spelling of tuple in Matrix.[h,c]
* added documentation to different parts of the code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
#include <stddef.h>
28
28
#include "config.h"
29
29
#include <stdio.h>
 
30
#include <wchar.h>
30
31
 
31
32
BEGIN_DECLS
32
33
 
52
53
char *
53
54
s_string_new_fmt (const char * format, ...);
54
55
 
 
56
 
55
57
/**
56
58
 * Same as s_string_new, but with a set length.
57
59
 *
60
62
char *
61
63
s_string_new_with_len (const char * s, size_t len);
62
64
 
 
65
char *
 
66
s_wstring_to_string (const wchar_t * ws);
 
67
 
 
68
#if 0
 
69
 
 
70
wchar_t *
 
71
s_wstring_new (const wchar_t * s);
 
72
 
 
73
wchar_t *
 
74
s_wstring_new_fmt (const wchar_t * format, ...);
 
75
 
 
76
wchar_t *
 
77
s_wstring_new_with_len (const wchar_t * format, size_t len);
 
78
#endif
 
79
 
 
80
 
63
81
/**
64
82
 * Returns a C string with the current time (as run).
65
83
 *