pike.git / src / modules / _Stdio / buffer.cmod

version» Context lines:

pike.git/src/modules/_Stdio/buffer.cmod:1871:    */    PIKEFUN int(0..16777215) read_int24( )    {    IOBuffer *io = THIS;    if( LIKELY(io_avail( io, 3 )) )    push_int( io_read_number_uc(io,3) );    else    push_int(-1);    }    -  /*! @decl int(24bit) read_int32() +  /*! @decl int(32bit) read_int32()    */ -  PIKEFUN int(0..16777215) read_int32( ) +  PIKEFUN int(0..4294967295) read_int32( )    {   #if SIZEOF_INT_TYPE > 4    IOBuffer *io = THIS;    if( LIKELY(io_avail( io, 4 )) )    push_int( io_read_number_uc(io,4) );    else    push_int(-1);   #else    push_int( io_read_number( 4 ) );   #endif