public override void invoke_flush_hook( bigloo.bint size ) { if( fhook is procedure ) { Object s = ((procedure)fhook).funcall2( this, size ); if( s is byte[] ) { sendbuffer( (byte [])s, 0, ((byte [])s).Length ); } else { if( s is bigloo.bint && flushbuf is byte[] && bigloo.foreign.CINT( (bigloo.bint)s ) <= ((byte[])flushbuf).Length ) { sendbuffer( (byte[])flushbuf, 0, bigloo.foreign.CINT( (bigloo.bint)s ) ); } } } }
public lib( bigloo.procedure p ) { Console.Out.WriteLine( "C#: constructor..." ); proc = p; }
public abstract void invoke_flush_hook( bigloo.bint size );