in reply to Re^6: Inline C + IO::Handle
in thread FCGI + Inline::C fast stream out!

You're doing

PRINT($out, "TEXT");

when you want to do

tied(*$out)->PRINT("TEXT");

Replies are listed 'Best First'.
Re^8: Inline C + IO::Handle
by mrakus (Initiate) on Apr 18, 2009 at 05:47 UTC
    Hmmm... I misled... :)
    I have to print text to fastcgi stream from C code, not perl code. Maybe i something not understand :(

      No, I understand. Let me rephrase. It's not working because you are doing the XS equivalent of

      PRINT($out, "TEXT");

      when you want to do the XS equivalent of

      tied(*$out)->PRINT("TEXT");