Mercurial > msvpvf
view include/common.h @ 82:59a86b638d40
Added tag v2.1 for changeset c06dcab17923
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Fri, 22 Mar 2024 22:04:33 -0400 |
parents | 8f90d5addda9 |
children |
line wrap: on
line source
#ifndef msvpvf_common_h #define msvpvf_common_h #include <stdio.h> #include <stdint.h> #ifndef ARRAYSIZE #define ARRAYSIZE(x) \ (sizeof(x)/sizeof((x)[0])) #endif enum types { TYPES_UNKNOWN = 0, TYPES_VF, TYPES_VEG }; int set_file_information(FILE* target, uint8_t version, enum types type); int get_file_information(FILE* input, uint8_t* version, enum types* type); #endif /* msvpvf_common_h */