Changes between Initial Version and Version 1 of Ticket #12291, comment 12


Ignore:
Timestamp:
Aug 10, 2015, 9:03:21 PM (9 years ago)
Author:
anevilyak

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12291, comment 12

    initial v1  
    22> Looks good. We do have a `B_DEFINE_WEAK_ALIAS()` macro in BeBuild.h, though, and there's also a `__weak_reference()` macro in cdefs.h (uses inline assembly instead of a function attribute, but should have the same semantics). So it shouldn't be necessary to define a macro to do the same in the source file.
    33
    4 Thanks for the hint, adjusted it to use __weak_reference(), as it's already including cdefs, and applied in hrev49527.
     4Thanks for the hint, adjusted it to use `__weak_reference()`, as it's already including cdefs, and applied in hrev49527.