OffByOneStudios / massive-dangerzone

A platform agnostic module management system.
6 stars 1 forks source link

Compatability Layer C: Add user macros to configure madz features. #22

Open mason-bially opened 11 years ago

mason-bially commented 11 years ago

Allow users to use macros ahead of an include statement to configure the compatibility layer:

#define MADZ_USER_MADZINIT

#include "madz.h"

Would tell madz that the user wanted to declare their own MADZINIT function. If not declared, then the MADZINIT function will be defaulted.