Something went wrong. Try again.
Monorepo for PackTools - tooling for Minecraft Modpacks!
Something went wrong. Try again.
1234567891011121314151617181920/* packutils.h compiled as strict C11 and linked from C: the contract must not depend on C++. */#include "packutils.h"
#include <stdio.h>
int main(void) { pu_error err = {0}; pu_runtime *rt = NULL; if (packutils_abi() != PACKUTILS_ABI) { fputs("packutils_abi() disagrees with PACKUTILS_ABI\n", stderr); return 1; } if (packutils_create(NULL, PACKUTILS_ABI, &rt, &err) != PU_INVALID || rt != NULL) { fputs("a null host was not refused\n", stderr); return 1; } packutils_free_error(NULL, &err); return 0;}