~mir-team/miral/release

« back to all changes in this revision

Viewing changes to miral/both_versions.h

  • Committer: Bileto Bot
  • Date: 2017-06-21 08:34:34 UTC
  • mfrom: (360.1.1 miral-release)
  • Revision ID: ci-train-bot@canonical.com-20170621083434-e7ftkyg5qr2fzsao
* New upstream release 1.4.0 (https://launchpad.net/miral/+milestone/1.4.0)
  - ABI summary:
    . miral ABI unchanged at 2
  - Enhancements:
    . Support for passing messages to enable Drag & Drop
    . Support for client requested move
    . Port to the undeprecated Mir APIs
    . Added "--cursor-theme" option when configuring a cursor theme
    . Drop support for Mir versions before 0.26
  - Bugs fixed:

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
#define MIRAL_FAKE_NEW_SYMBOL(old_sym, new_sym)\
28
28
    extern "C" __attribute__((alias(#old_sym))) void new_sym();
29
29
 
30
 
#if (MIR_SERVER_VERSION >= MIR_VERSION_NUMBER(0, 26, 0))
31
 
    #define MIRAL_BOTH_VERSIONS(old_sym, new_sym)\
32
 
    MIRAL_FAKE_OLD_SYMBOL(old_sym, new_sym)
33
 
#else
34
 
    #define MIRAL_BOTH_VERSIONS(old_sym, new_sym)\
35
 
    MIRAL_FAKE_NEW_SYMBOL(old_sym, new_sym)
36
 
#endif
 
30
#define MIRAL_BOTH_VERSIONS(old_sym, new_sym)\
 
31
MIRAL_FAKE_OLD_SYMBOL(old_sym, new_sym)
37
32
 
38
33
#endif //MIRAL_BOTH_VERSIONS_H