16 lines
426 B
C
16 lines
426 B
C
// Copyright © 2016-2018 Graham Sanderson, all rights reserved.
|
|
#define Lith_Version "1.0"
|
|
#define Lith_APIVersion 170
|
|
#define Lith_CheckAPIVersion() \
|
|
do \
|
|
if(world.apiversion != Lith_APIVersion) { \
|
|
printf(c"%s: Invalid API version! Expected %i, but got %i\n", \
|
|
__func__, Lith_APIVersion, world.apiversion); \
|
|
abort(); \
|
|
} \
|
|
while(0)
|
|
#include <stdio.h>
|
|
// 170 - 1.0
|
|
|
|
// EOF
|