コード例 #1
0
ファイル: xrespondent.c プロジェクト: javarange/nanomsg
static void nn_xrespondent_destroy (struct nn_sockbase *self)
{
    struct nn_xrespondent *xrespondent;

    xrespondent = nn_cont (self, struct nn_xrespondent, sockbase);

    nn_xrespondent_term (xrespondent);
    nn_free (xrespondent);
}
コード例 #2
0
ファイル: respondent.c プロジェクト: ryanbaylorkillea/nanomsg
static void nn_respondent_term (struct nn_respondent *self)
{
    nn_xrespondent_term (&self->xrespondent);
}