コード例 #1
0
ファイル: action.c プロジェクト: abiggerhammer/hammer
HParser* h_action(const HParser* p, const HAction a, void* user_data) {
  return h_action__m(&system_allocator, p, a, user_data);
}
コード例 #2
0
ファイル: application.c プロジェクト: AliBahar/dnp3
static HParser *bytes(HAllocator *mm__, size_t n)
{
    return h_action__m(mm__, h_repeat_n__m(mm__, h_uint8__m(mm__), n),
                             act_bytes, NULL);
}
コード例 #3
0
ファイル: action.c プロジェクト: kmitwork/hammer
const HParser* h_action(const HParser* p, const HAction a) {
  return h_action__m(&system_allocator, p, a);
}