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

/* 
 * File:   main.h
 * Author: Mike
 *
 * Created on 18. Februar 2012, 18:33
 */

#ifndef MAIN_H
#define	MAIN_H

#ifdef	__cplusplus
extern "C" {
#endif

/* Some functions that are shared over the test */
int cmp_string(void*, void*, void*);
void* copy_string(void*, void*);


#ifdef	__cplusplus
}
#endif

#endif	/* MAIN_H */

mercurial