namespace std { %callback(1) endl; %callback(1) ends; %callback(1) flush; } %include <std/std_iostream.i>