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

  • Committer: Gustav Hartvigsson
  • Date: 2015-08-26 21:43:01 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20150826214301-a3ms101kvjx4g0qq
* General documentation clean up.
* Made the doxygen optimise for C
* Changed SBoxPrivate to use union
* Implemented the s_box_new_xxx functions
* moved free_func from SBoxClass to SBoxPrivate to lessen confusion with SObjectClass->free, and keep it private.
* Added S_ERROR_TYPE_ERROR to represent generic type errors.
* Added CALLBACK(k) macro
* Made a group for SMatrix.
* Added documentation for various functions and what not.

Show diffs side-by-side

added added

removed removed

Lines of Context:
68
68
 
69
69
spointer *
70
70
s_matrix_get_tupel (SMatrix * self, size_t x) {
71
 
  spointer* tuple = NULL;
 
71
  spointer * tuple = NULL;
72
72
  if ((x < self->height) && (x < self->last_tuple)){
73
73
    tuple = calloc (self->width, sizeof (spointer));
74
74
    for (int i = 0; i <= self->width; i++) {