Commit 9f3a5a64 by Edward Thomson

deprecation: offer GIT_DEPRECATE_HARD

Users can define `GIT_DEPRECATE_HARD` if they want to remove all
functions that we've "softly" deprecated.
parent 9c5e05ad
......@@ -14,6 +14,11 @@
#include "object.h"
#include "refs.h"
/*
* Users can avoid deprecated functions by defining `GIT_DEPRECATE_HARD`.
*/
#ifndef GIT_DEPRECATE_HARD
/**
* @file git2/deprecated.h
* @brief libgit2 deprecated functions and values
......@@ -244,3 +249,5 @@ GIT_EXTERN(void) giterr_set_oom(void);
GIT_END_DECL
#endif
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment