Add yaz_clone_z_RecordComposition.
authorAdam Dickmeiss <adam@indexdata.dk>
Thu, 26 Mar 2009 13:25:12 +0000 (14:25 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Thu, 26 Mar 2009 13:25:12 +0000 (14:25 +0100)
include/yaz/copy_types.h
src/copy_types.c

index 2118144..95592d4 100644 (file)
@@ -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
index d6d6c55..73519f1 100644 (file)
@@ -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)
 {