50 virtual int call(
int arg) = 0;
62 int add(
int a,
int b) {
return a + b; }
63 int mapSize(
const std::map<std::string, std::string>& map) {
return map.size(); }
virtual int callExtended(int arg)=0
virtual int call(int arg)=0
virtual ~FooCallback()=default
int callbackSaved(int arg)
void passMutable(FooMutable &foo)
FooEmpty passEmpty(FooEmpty foo)
std::shared_ptr< FooCallback > m_callback
int callbackShared(std::shared_ptr< FooCallback > callback, int arg)
void raise(FooStruct foo)
int callbackUnique(std::unique_ptr< FooCallback > callback, int arg)
FooEnum passEnum(FooEnum foo)
FooMessage passMessage(FooMessage foo)
int callback(FooCallback &callback, int arg)
FooStruct pass(FooStruct foo)
FooCustom passCustom(FooCustom foo)
void saveCallback(std::shared_ptr< FooCallback > callback)
int callbackExtended(ExtendedCallback &callback, int arg)
int mapSize(const std::map< std::string, std::string > &map)
Functions to serialize / deserialize common bitcoin types.
std::vector< bool > vbool