Logo Search packages:      
Sourcecode: inkscape version File versions

enum CRStatus cr_input_get_cur_byte_addr ( CRInput a_this,
guchar **  a_offset 

Returns the address of the current character pointer.

a_this the current input stream
a_offset out parameter. The returned address.
CR_OK upon successful completion, an error code otherwise.

Definition at line 846 of file cr-input.c.

        g_return_val_if_fail (a_this && PRIVATE (a_this) && a_offset,

        if (!PRIVATE (a_this)->next_byte_index) {
                return CR_START_OF_INPUT_ERROR;

        *a_offset = cr_input_get_byte_addr
                (a_this, PRIVATE (a_this)->next_byte_index - 1);

        return CR_OK;

Generated by  Doxygen 1.6.0   Back to index