本文整理汇总了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);
}
开发者ID:Abioy,项目名称:mpaxos,代码行数:7,代码来源:mpaxos.pb-c.c
示例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);
}
开发者ID:a1406,项目名称:txgg,代码行数:7,代码来源:config_scene.pb-c.c
示例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);
}
开发者ID:a1406,项目名称:txgg,代码行数:7,代码来源:config_instance_map.pb-c.c
示例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);
}
开发者ID:kristiyantodorov,项目名称:Calculator,代码行数:7,代码来源:calculation.pb-c.c
示例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);
}
开发者ID:pstoica,项目名称:CS3251-project-4,代码行数:7,代码来源:song.pb-c.c
示例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);
}
开发者ID:a1406,项目名称:txgg,代码行数:7,代码来源:config_quest_branch.pb-c.c
示例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);
}
开发者ID:Hellblazer,项目名称:ZHT,代码行数:7,代码来源:zpack.pb-c.c
示例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);
}
开发者ID:element-doo,项目名称:ekade,代码行数:7,代码来源:ImageProvjera.pb-c.c
示例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);
}
开发者ID:bjoernricks,项目名称:forked-daapd,代码行数:7,代码来源:cast_channel.v0.pb-c.c
注:本文中的PROTOBUF_C_ASSERT函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论