Exemple #1
0
void nn_chunkref_term (struct nn_chunkref *self)
{
    struct nn_chunkref_chunk *ch;

    if (self->u.ref [0] == 0xff) {
        ch = (struct nn_chunkref_chunk*) self;
        nn_chunk_free (ch->chunk);
    }
}
Exemple #2
0
int nn_freemsg (void *msg)
{
    nn_chunk_free (msg);
    return 0;
}
Exemple #3
0
int nn_freemsg (void *msg)
{
    nn_chunk_free (((struct nn_chunk*) msg) - 1);
    return 0;
}