本文整理汇总了C++中PROTOBUF_C_ASSERT函数的典型用法代码示例。如果您正苦于以下问题:C++ PROTOBUF_C_ASSERT函数的具体用法?C++ PROTOBUF_C_ASSERT怎么用?C++ PROTOBUF_C_ASSERT使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了PROTOBUF_C_ASSERT函数的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: PROTOBUF_C_ASSERT
size_t mpaxos__instid_t__pack
(const Mpaxos__InstidT *message,
uint8_t *out)
{
PROTOBUF_C_ASSERT (message->base.descriptor == &mpaxos__instid_t__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
示例2: PROTOBUF_C_ASSERT
size_t cfg__scene__pack
(const CFGSCENE *message,
uint8_t *out)
{
PROTOBUF_C_ASSERT (message->base.descriptor == &cfg__scene__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
示例3: PROTOBUF_C_ASSERT
void cfg__instance__map__free_unpacked
(CFGINSTANCEMAP *message,
ProtobufCAllocator *allocator)
{
PROTOBUF_C_ASSERT (message->base.descriptor == &cfg__instance__map__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
示例4: PROTOBUF_C_ASSERT
size_t calculation__pack_to_buffer
(const Calculation *message,
ProtobufCBuffer *buffer)
{
PROTOBUF_C_ASSERT (message->base.descriptor == &calculation__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
示例5: PROTOBUF_C_ASSERT
void com__example__myfirstapp__song__free_unpacked
(Com__Example__Myfirstapp__Song *message,
ProtobufCAllocator *allocator)
{
PROTOBUF_C_ASSERT (message->base.descriptor == &com__example__myfirstapp__song__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
示例6: PROTOBUF_C_ASSERT
size_t cfg__branch__quests__pack
(const CFGBRANCHQUESTS *message,
uint8_t *out)
{
PROTOBUF_C_ASSERT (message->base.descriptor == &cfg__branch__quests__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
示例7: PROTOBUF_C_ASSERT
void zpack__free_unpacked
(ZPack *message,
ProtobufCAllocator *allocator)
{
PROTOBUF_C_ASSERT (message->base.descriptor == &zpack__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
示例8: PROTOBUF_C_ASSERT
size_t com__emajliramokade__image__proto__dimenzije_slike__pack
(const Com__Emajliramokade__Image__Proto__DimenzijeSlike *message,
uint8_t *out)
{
PROTOBUF_C_ASSERT (message->base.descriptor == &com__emajliramokade__image__proto__dimenzije_slike__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
示例9: PROTOBUF_C_ASSERT
size_t extensions__core_api__cast_channel__auth_response__pack
(const Extensions__CoreApi__CastChannel__AuthResponse *message,
uint8_t *out)
{
PROTOBUF_C_ASSERT (message->base.descriptor == &extensions__core_api__cast_channel__auth_response__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}