gcc: compatibility_alias
1
1 8.6 'compatibility_alias'
1 =========================
1
1 The keyword '@compatibility_alias' allows you to define a class name as
1 equivalent to another class name. For example:
1
1 @compatibility_alias WOApplication GSWApplication;
1
1 tells the compiler that each time it encounters 'WOApplication' as a
1 class name, it should replace it with 'GSWApplication' (that is,
1 'WOApplication' is just an alias for 'GSWApplication').
1
1 There are some constraints on how this can be used--
1
1 * 'WOApplication' (the alias) must not be an existing class;
1
1 * 'GSWApplication' (the real class) must be an existing class.
1