Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 869380
Collapse All | Expand All

(-)a/src/raptor_parse.c (-2 / +2 lines)
Lines 252-263 raptor_world_get_parser_factory(raptor_world *world, const char *name) Link Here
252
 *
252
 *
253
 * Get number of parsers
253
 * Get number of parsers
254
 *
254
 *
255
 * Return value: number of parsers
255
 * Return value: number of parsers or <0 on failure
256
 **/
256
 **/
257
int
257
int
258
raptor_world_get_parsers_count(raptor_world* world)
258
raptor_world_get_parsers_count(raptor_world* world)
259
{
259
{
260
  RAPTOR_ASSERT_OBJECT_POINTER_RETURN_VALUE(world, raptor_world, NULL);
260
  RAPTOR_ASSERT_OBJECT_POINTER_RETURN_VALUE(world, raptor_world, -1);
261
261
262
  raptor_world_open(world);
262
  raptor_world_open(world);
263
263
(-)a/src/raptor_serialize.c (-2 / +2 lines)
Lines 235-246 raptor_get_serializer_factory(raptor_world* world, const char *name) Link Here
235
 *
235
 *
236
 * Get number of serializers
236
 * Get number of serializers
237
 *
237
 *
238
 * Return value: number of serializers
238
 * Return value: number of serializers or <0 on failure
239
 **/
239
 **/
240
int
240
int
241
raptor_world_get_serializers_count(raptor_world* world)
241
raptor_world_get_serializers_count(raptor_world* world)
242
{
242
{
243
  RAPTOR_ASSERT_OBJECT_POINTER_RETURN_VALUE(world, raptor_world, NULL);
243
  RAPTOR_ASSERT_OBJECT_POINTER_RETURN_VALUE(world, raptor_world, -1);
244
244
245
  raptor_world_open(world);
245
  raptor_world_open(world);
246
246

Return to bug 869380