test/main.h

Thu, 04 Oct 2012 16:03:18 +0200

author
Mike Becker <universe@uap-core.de>
date
Thu, 04 Oct 2012 16:03:18 +0200
changeset 42
ff3dd1ee7dee
parent 27
22644e2572bc
child 103
08018864fb91
permissions
-rw-r--r--

(broken-commit) - added load and store functions, tests failing

some evil crash happens when executing the test - remove the strcmp calls in the test case for the store and load function and everything "works"

the error must be somewhere else - maybe something that should not be freed is freed during the test

     1 /* 
     2  * File:   main.h
     3  * Author: Mike
     4  *
     5  * Created on 18. Februar 2012, 18:33
     6  */
     8 #ifndef MAIN_H
     9 #define	MAIN_H
    11 #ifdef	__cplusplus
    12 extern "C" {
    13 #endif
    15 /* Some functions that are shared over the test */
    16 int cmp_string(void*, void*, void*);
    17 void* copy_string(void*, void*);
    20 #ifdef	__cplusplus
    21 }
    22 #endif
    24 #endif	/* MAIN_H */

mercurial