On 02/04/2012 03:05 PM, Chase Douglas wrote:
> It would be nice to explicitly list each class method, but there's no
> documentation on how to do it, and everything I try fails. At least this
> ensures we don't ship visible symbols that are really part of GTest.
> 
> Signed-off-by: Chase Douglas <[email protected]>
> ---
>  
> +XORG_GTEST_1.0 {
> +    global:
> +        extern "C++" {
> +            xorg::testing::*;
> +            "typeinfo for xorg::testing::Environment";
> +            "typeinfo for xorg::testing::Test";
> +            "typeinfo name for xorg::testing::Environment";
> +            "typeinfo name for xorg::testing::Test";
> +            "vtable for xorg::testing::Environment";
> +            "vtable for xorg::testing::Test";
> +        };
> +
> +    local:
> +        *;
> +};


This is fine but because of the wildcard you'll want to be extra
vigilant on new releases to make sure any added symbols do not get
accidentally versioned with XORG_GTEST_1.0 tag.

Reviewed-by: Stephen M. Webb  <[email protected]>
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to