[geany/geany] 5858bc: Deprecate filetype_id in favor of GeanyFiletypeID
Colomban Wendling
git-noreply at xxxxx
Fri Mar 4 22:08:32 UTC 2016
Branch: refs/heads/master
Author: Colomban Wendling <ban at herbesfolles.org>
Committer: Colomban Wendling <ban at herbesfolles.org>
Date: Fri, 04 Mar 2016 22:08:32 UTC
Commit: 5858bc3c084d5a955914828c4df2e897790465fd
https://github.com/geany/geany/commit/5858bc3c084d5a955914828c4df2e897790465fd
Log Message:
-----------
Deprecate filetype_id in favor of GeanyFiletypeID
Modified Paths:
--------------
src/filetypes.h
Modified: src/filetypes.h
5 lines changed, 4 insertions(+), 1 deletions(-)
===================================================================
@@ -111,7 +111,10 @@ typedef enum
}
GeanyFiletypeID;
-#define filetype_id GeanyFiletypeID /* compat define - should be removed in the future */
+#ifndef GEANY_DISABLE_DEPRECATED
+/* compat define - should be removed in the future */
+typedef GeanyFiletypeID filetype_id GEANY_DEPRECATED_FOR(GeanyFiletypeID);
+#endif /* GEANY_DISABLE_DEPRECATED */
/** @gironly
* Filetype categories
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Commits
mailing list