Kengo Seki created AVRO-2455:
--------------------------------
Summary: avro_generic_value_free is not exposed via avro/generic.h
Key: AVRO-2455
URL: https://issues.apache.org/jira/browse/AVRO-2455
Project: Apache Avro
Issue Type: Bug
Components: c, doc
Reporter: Kengo Seki
[The C bindings documentation refers to the {{avro_generic_value_free}}
function|http://avro.apache.org/docs/1.9.0/api/c/index.html#_creating_value_instances].
{code}
#include <avro.h>
avro_value_iface_t *avro_generic_class_from_schema(avro_schema_t schema);
int avro_generic_value_new(const avro_value_iface_t *iface, avro_value_t *dest);
void avro_generic_value_free(avro_value_t *self);
{code}
But it doesn't seem to be exposed via avro/generic.h, so users can't see it by
just including avro.h.
In addition, its signature in the document seems wrong. The right one is {{void
avro_generic_value_free(const avro_value_iface_t *iface, void *self)}}.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)