[
https://issues.apache.org/jira/browse/AVRO-2455?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17212489#comment-17212489
]
brian mcqueen commented on AVRO-2455:
-------------------------------------
Is there some complexity in exposing this? Any words of warning?
> 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
> Priority: Major
>
> [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
(v8.3.4#803005)