4. Tangled Files
This document tangles to gestvm.c
and gestvm.h
. Defining
GESTVM_PRIV
will expose the structs. Named codeblocks,
such as typedefs
, structs
, funcdefs
, and funcs
,
get dynamically added to using the underlying literate
programming system.
<<gestvm.h>>=
#ifndef GESTVM_H
#define GESTVM_H
#ifndef SKFLT
#define SKFLT float
#endif
<<typedefs>>
#ifdef GESTVM_PRIV
<<structs>>
#endif
<<funcdefs>>
#endif
<<gestvm.c>>=
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <math.h>
#include "uxn.h"
#define GESTVM_PRIV
#include "gestvm.h"
<<static_funcdefs>>
<<uxn_halt>>
<<funcs>>
prev | home | next