~andreas-pokorny/mir/activate-pointer-acceleration

« back to all changes in this revision

Viewing changes to doc/dso_versioning_guide.md

  • Committer: Christopher James Halse Rogers
  • Date: 2015-02-12 05:55:17 UTC
  • mfrom: (2314 development-branch)
  • mto: This revision was merged to the branch mainline in revision 2326.
  • Revision ID: christopher.halse.rogers@canonical.com-20150212055517-4ebh62tbmq4co2m8
Merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
There are more detailed descriptions below, but as a general rule:
8
8
 
9
9
 - If you add a new symbol, add it to a _new_ dotted-decimal version stanza,
10
 
   like `MIR_CLIENT_8.1`, `MIR_CLIENT_8.2`, etc.
 
10
   like `MIR_CLIENT_8.1`, `MIR_CLIENT_8.2`, etc.
11
11
 - If you change the behaviour or signature of a symbol and not change SONAME,
12
12
   see "Change symbols without breaking ABI" below
13
13
 - If you change SONAME, collect all previous symbol version stanzas into a
135
135
 
136
136
    __asm__(".symver old_mir_connection_create_surface,mir_connection_create_surface@MIR_CLIENT_8");
137
137
 
138
 
    MirWaitHandle* old_mir_connection_create_surface(...)
 
138
    extern "C" MirWaitHandle* old_mir_connection_create_surface(...)
139
139
    /* The old implementation */
140
140
 
141
141
    /* The @@ specifies that this is the default version */