diff options
| author | Přemysl Janouch <p.janouch@gmail.com> | 2014-09-21 01:06:47 +0200 | 
|---|---|---|
| committer | Přemysl Janouch <p.janouch@gmail.com> | 2014-09-21 01:06:47 +0200 | 
| commit | 7a7c32aec0f65d45a01d8b0e3534b85a7f3086c0 (patch) | |
| tree | de6027c7a78cefc86a9c09209b1c45b597e7a5b0 | |
| parent | 49aceb664ef8e9b31f2123abc12f42cf810e3045 (diff) | |
| download | ponymap-7a7c32aec0f65d45a01d8b0e3534b85a7f3086c0.tar.gz ponymap-7a7c32aec0f65d45a01d8b0e3534b85a7f3086c0.tar.xz ponymap-7a7c32aec0f65d45a01d8b0e3534b85a7f3086c0.zip | |
Add a header guard
I've nearly forgotten what those are.
| -rw-r--r-- | plugin-api.h | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/plugin-api.h b/plugin-api.h index 7a73c59..fa67695 100644 --- a/plugin-api.h +++ b/plugin-api.h @@ -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 | 
