/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/Box.c

  • Committer: Gustav Hartvigsson
  • Date: 2015-10-25 19:56:39 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20151025195639-rd3fg4fg5a02v3bb
* Passing arguments can not be initialised from within a function...
* Started re-write of the SError tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
                                     SType expeted_type,
58
58
                                     SError * err) {
59
59
 
 
60
  assert (err != NULL);
60
61
  if (self->priv->object_type != expeted_type) {
61
 
    s_error_new (err, S_ERROR_TYPE_ERROR, s_string_new_fmt (
 
62
    s_error_append (err, S_ERROR_TYPE_ERROR, s_string_new_fmt (
62
63
                                    "(SBox) Type missmatch:\n"
63
64
                                    "Expected type: %s"
64
65
                                    "Type held: %s",