From 625aa16bd5f85153e468ddbfb8d213937890dd30 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 26 Mar 2009 14:25:12 +0100 Subject: [PATCH] Add yaz_clone_z_RecordComposition. --- include/yaz/copy_types.h | 4 ++++ src/copy_types.c | 1 + 2 files changed, 5 insertions(+) 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) { -- 1.7.10.4