1. Tangled Files

Core tanlges itself into a C and a header file, called core.c and core.h, respectively.

<<core.h>>=
#ifndef CORE_H
#define CORE_H
/* OSX is a real jerk */
#ifdef _SQLITE3_H_
#define SQLITE3_H
#endif
<<macros>>
<<typedefs>>
<<function_declarations>>
#endif
<<core_private.h>>=
#ifndef CORE_PRIVATE_H
#define CORE_PRIVATE_H
<<structs>>
#endif
<<core.c>>=
#include <sqlite3.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "core.h"
#include "core_private.h"
<<constants>>
<<functions>>



prev | home | next