Deprecate filetype_id in favor of GeanyFiletypeID

This commit is contained in:
Colomban Wendling 2016-03-04 23:08:32 +01:00
parent 856ee6633f
commit 5858bc3c08

View File

@ -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