/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 libssts/DynamicArray.c

  • Committer: Gustav Hartvigsson
  • Date: 2016-01-25 21:52:28 UTC
  • mto: This revision was merged to the branch mainline in revision 111.
  • Revision ID: gustav.hartvigsson@gmail.com-20160125215228-m9k1we2mplfla6y4
* Getting closer to fixing the callbacks...

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
                             spointer data);
43
43
 
44
44
SDynamicArray *
45
 
_s_dynamic_array_new_full (size_t len,
 
45
s_dynamic_array_new_full (size_t len,
46
46
                          FreeFunc free_func,
47
47
                          FuncPointer to_json,
48
48
                          FuncPointer from_json) {
70
70
s_dynamic_array_new (size_t len,
71
71
                     FreeFunc free_func) {
72
72
 
73
 
  SDynamicArray * self = _s_dynamic_array_new_full (len, free_func, NULL, NULL);
 
73
  SDynamicArray * self = s_dynamic_array_new_full (len, free_func, NULL, NULL);
74
74
 
75
75
  return self;
76
76
}
80
80
                          FreeFunc free_func,
81
81
                          FuncPointer to_json,
82
82
                          FuncPointer from_json) {
83
 
  SDynamicArray * self = _s_dynamic_array_new_full (len, free_func, to_json, from_json);
 
83
  SDynamicArray * self = s_dynamic_array_new_full (len, free_func, to_json, from_json);
84
84
  return self;
85
85
}
86
86