Add a header guard

I've nearly forgotten what those are.
This commit is contained in:
Přemysl Eric Janouch 2014-09-21 01:06:47 +02:00
parent 49aceb664e
commit 7a7c32aec0

View File

@ -18,6 +18,9 @@
*
*/
#ifndef PLUGIN_API_H
#define PLUGIN_API_H
// This API is meant to be as simplistic as is realistically possible.
/// The version of the API, and by extension, of all the following structs
@ -92,3 +95,5 @@ struct plugin_info
/// The context needs to be passed to the relevant API functions.
bool (*initialize) (void *ctx, struct plugin_api *api);
};
#endif // ! PLUGIN_API_H