You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
357 B
37 lines
357 B
7 months ago
|
/// to compile this:
|
||
|
/// g++ -g -fPIC -shared -o libtest33-v1.so test33-v1.cc
|
||
|
|
||
|
#include "test33-v1.h"
|
||
|
|
||
|
class to_suppress
|
||
|
{
|
||
|
int member1;
|
||
|
|
||
|
void method1();
|
||
|
char method2();
|
||
|
};
|
||
|
|
||
|
void
|
||
|
to_suppress::method1()
|
||
|
{}
|
||
|
|
||
|
char
|
||
|
to_suppress::method2()
|
||
|
{return 0;}
|
||
|
|
||
|
void
|
||
|
to_keep::method1()
|
||
|
{}
|
||
|
|
||
|
void
|
||
|
to_keep::method2()
|
||
|
{}
|
||
|
|
||
|
void
|
||
|
foo(to_suppress&)
|
||
|
{}
|
||
|
|
||
|
void
|
||
|
bar(to_keep&)
|
||
|
{}
|