Add text streamer to Android example to replace missing stdout

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13833 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2012-09-13 18:55:52 +00:00
commit 608d43f0f9
4 changed files with 44 additions and 6 deletions

View file

@ -2,3 +2,13 @@
#include "example.h"
static Streamer * streamerInstance = 0;
void setStreamer(Streamer* streamer) {
streamerInstance = streamer;
}
Streamer& getStreamer() {
return *streamerInstance;
}