swig/Examples/php/sync/example.h
Olly Betts 09d06843d1 Fix PHP sync example
Mostly it was missing `%include <std_string.i>`
2021-04-19 11:26:32 +12:00

14 lines
178 B
C++

#include <string>
extern std::string s;
extern int x;
class Sync {
public:
int x;
std::string s;
void printer();
void all_change();
Sync() : x(0) { }
};