From 43d2ebb33d16b27b18e4fc5bc24a81e1be43aba3 Mon Sep 17 00:00:00 2001 From: pop Date: Mon, 18 Nov 2002 13:12:47 +0000 Subject: [PATCH] Fixed included headers structure, definitions for shadow classes rearranged. --- perl/IDZebra.i | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/perl/IDZebra.i b/perl/IDZebra.i index a2528f8..1cab21f 100644 --- a/perl/IDZebra.i +++ b/perl/IDZebra.i @@ -3,6 +3,7 @@ %{ #include "zebraapi.h" #include "zebra_api_ext.h" +#include "zebra_perl.h" #include "data1.h" #include "yaz/odr.h" %} @@ -66,7 +67,7 @@ /* == Structures for shadow classes ======================================= */ -%include "zebra_api_ext.h" +%include "zebra_perl.h" /* == Module initialization and cleanup (zebra_perl.c) ===================== */ @@ -557,7 +558,7 @@ off_t grs_perl_seekf(struct perl_context *context, off_t offset); off_t grs_perl_tellf(struct perl_context *context); void grs_perl_endf(struct perl_context *context, off_t offset); -data1_handle grs_perl_get_dh(struct perl_context *context); -NMEM grs_perl_get_mem(struct perl_context *context); +data1_handle *grs_perl_get_dh(struct perl_context *context); +NMEM *grs_perl_get_mem(struct perl_context *context); void grs_perl_set_res(struct perl_context *context, data1_node *n); -- 1.7.10.4