From: Adam Dickmeiss Date: Thu, 26 Mar 2009 13:25:12 +0000 (+0100) Subject: Add yaz_clone_z_RecordComposition. X-Git-Tag: v3.0.45~8 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=625aa16bd5f85153e468ddbfb8d213937890dd30;p=yaz-moved-to-github.git Add yaz_clone_z_RecordComposition. --- diff --git a/include/yaz/copy_types.h b/include/yaz/copy_types.h index 2118144..95592d4 100644 --- a/include/yaz/copy_types.h +++ b/include/yaz/copy_types.h @@ -52,6 +52,10 @@ Z_Query *yaz_clone_z_Query(Z_Query *q, NMEM out); YAZ_EXPORT Z_NamePlusRecord *yaz_clone_z_NamePlusRecord(Z_NamePlusRecord *s, NMEM out); +YAZ_EXPORT +Z_RecordComposition *yaz_clone_z_RecordComposition(Z_RecordComposition *s, + NMEM out); + YAZ_END_CDECL #endif diff --git a/src/copy_types.c b/src/copy_types.c index d6d6c55..73519f1 100644 --- a/src/copy_types.c +++ b/src/copy_types.c @@ -37,6 +37,7 @@ Z_##x *yaz_clone_z_##x(Z_##x *q, NMEM nmem_out) \ clone_z_type(NamePlusRecord) clone_z_type(RPNQuery) clone_z_type(Query) +clone_z_type(RecordComposition) Z_RPNQuery *yaz_copy_z_RPNQuery(Z_RPNQuery *q, ODR out) {