From: mike Date: Mon, 19 Dec 2005 17:46:52 +0000 (+0000) Subject: Remove all "# TESTED" comment lines. X-Git-Tag: cpan_1_22~294 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=b9f6faa94c8fd6cfc475f667c535a539f04fe151;p=ZOOM-Perl-moved-to-github.git Remove all "# TESTED" comment lines. (Nearly all XSUBs have them by this point.) --- diff --git a/ZOOM.xs b/ZOOM.xs index 6799bd0..708b004 100644 --- a/ZOOM.xs +++ b/ZOOM.xs @@ -1,4 +1,4 @@ -/* $Id: ZOOM.xs,v 1.33 2005-12-19 17:05:05 mike Exp $ */ +/* $Id: ZOOM.xs,v 1.34 2005-12-19 17:46:52 mike Exp $ */ #include "EXTERN.h" #include "perl.h" @@ -79,36 +79,30 @@ MODULE = Net::Z3950::ZOOM PACKAGE = Net::Z3950::ZOOM PREFIX=ZOOM_ PROTOTYPES: ENABLE -# TESTED ZOOM_connection ZOOM_connection_new(host, portnum) const char* host int portnum -# TESTED ZOOM_connection ZOOM_connection_create(options) ZOOM_options options -# TESTED void ZOOM_connection_connect(c, host, portnum) ZOOM_connection c const char* host int portnum -# TESTED void ZOOM_connection_destroy(c) ZOOM_connection c -# TESTED const char * ZOOM_connection_option_get(c, key) ZOOM_connection c const char *key -# TESTED struct datachunk ZOOM_connection_option_getl(c, key, len) ZOOM_connection c @@ -121,7 +115,6 @@ ZOOM_connection_option_getl(c, key, len) RETVAL len -# TESTED void ZOOM_connection_option_set(c, key, val) ZOOM_connection c @@ -134,7 +127,6 @@ ZOOM_connection_option_set(c, key, val) # is an opaque pointer. The underlying C function can then use this # along with `len' to Do The Right Thing. # -# TESTED void ZOOM_connection_option_setl(c, key, val, len) ZOOM_connection c @@ -154,7 +146,6 @@ ZOOM_connection_option_setl(c, key, val, len) # support for const char**, but who can blame it? If you ask me, the # whole "const" thing was well-intentioned by ghastly mistake. # -# TESTED int ZOOM_connection_error(c, cp, addinfo) ZOOM_connection c @@ -173,7 +164,6 @@ ZOOM_connection_error(c, cp, addinfo) addinfo # See comments for ZOOM_connection_error() above -# TESTED int ZOOM_connection_error_x(c, cp, addinfo, diagset) ZOOM_connection c @@ -194,67 +184,55 @@ ZOOM_connection_error_x(c, cp, addinfo, diagset) addinfo diagset -# TESTED int ZOOM_connection_errcode(c) ZOOM_connection c -# TESTED const char * ZOOM_connection_errmsg(c) ZOOM_connection c -# TESTED const char * ZOOM_connection_addinfo(c) ZOOM_connection c -# TESTED const char * ZOOM_connection_diagset(c) ZOOM_connection c -# TESTED const char * ZOOM_diag_str(error) int error -# TESTED ZOOM_resultset ZOOM_connection_search(arg0, q) ZOOM_connection arg0 ZOOM_query q -# TESTED ZOOM_resultset ZOOM_connection_search_pqf(c, q) ZOOM_connection c const char *q -# TESTED void ZOOM_resultset_destroy(r) ZOOM_resultset r -# TESTED const char * ZOOM_resultset_option_get(r, key) ZOOM_resultset r const char* key -# TESTED void ZOOM_resultset_option_set(r, key, val) ZOOM_resultset r const char* key const char* val -# TESTED size_t ZOOM_resultset_size(r) ZOOM_resultset r -# TESTED SV * ZOOM_resultset_records(r, start, count, return_records) ZOOM_resultset r @@ -283,19 +261,16 @@ ZOOM_resultset_records(r, start, count, return_records) OUTPUT: RETVAL -# TESTED ZOOM_record ZOOM_resultset_record(s, pos) ZOOM_resultset s size_t pos -# TESTED ZOOM_record ZOOM_resultset_record_immediate(s, pos) ZOOM_resultset s size_t pos -# TESTED void ZOOM_resultset_cache_reset(r) ZOOM_resultset r @@ -307,7 +282,6 @@ ZOOM_resultset_sort(r, sort_type, sort_spec) const char* sort_type const char* sort_spec -# TESTED int ZOOM_resultset_sort1(r, sort_type, sort_spec) ZOOM_resultset r @@ -316,7 +290,6 @@ ZOOM_resultset_sort1(r, sort_type, sort_spec) # See "typemap" for discussion of the "const char *" return-type. # -# TESTED ### but should use datachunk for in some (not all!) cases. const char * ZOOM_record_get(rec, type, len) @@ -327,56 +300,46 @@ ZOOM_record_get(rec, type, len) RETVAL len -# TESTED void ZOOM_record_destroy(rec) ZOOM_record rec -# TESTED ZOOM_record ZOOM_record_clone(srec) ZOOM_record srec -# TESTED ZOOM_query ZOOM_query_create() -# TESTED void ZOOM_query_destroy(s) ZOOM_query s -# TESTED int ZOOM_query_cql(s, str) ZOOM_query s const char* str -# TESTED int ZOOM_query_prefix(s, str) ZOOM_query s const char* str -# TESTED int ZOOM_query_sortby(s, criteria) ZOOM_query s const char * criteria -# TESTED ZOOM_scanset ZOOM_connection_scan(c, startterm) ZOOM_connection c const char* startterm -# TESTED ZOOM_scanset ZOOM_connection_scan1(c, startterm) ZOOM_connection c ZOOM_query startterm -# TESTED const char * ZOOM_scanset_term(scan, pos, occ, len) ZOOM_scanset scan @@ -388,7 +351,6 @@ ZOOM_scanset_term(scan, pos, occ, len) occ len -# TESTED const char * ZOOM_scanset_display_term(scan, pos, occ, len) ZOOM_scanset scan @@ -400,23 +362,19 @@ ZOOM_scanset_display_term(scan, pos, occ, len) occ len -# TESTED size_t ZOOM_scanset_size(scan) ZOOM_scanset scan -# TESTED void ZOOM_scanset_destroy(scan) ZOOM_scanset scan -# TESTED const char * ZOOM_scanset_option_get(scan, key) ZOOM_scanset scan const char * key -# TESTED void ZOOM_scanset_option_set(scan, key, val) ZOOM_scanset scan @@ -429,7 +387,6 @@ ZOOM_scanset_option_set(scan, key, val) # function in the callback_block -- is unavailable to us, as the # underlying C function doesn't give the block back. # -# TESTED void ZOOM_options_set_callback(opt, function, handle) ZOOM_options opt @@ -454,28 +411,23 @@ ZOOM_options_set_callback(opt, function, handle) (void*) block); } -# TESTED ZOOM_options ZOOM_options_create() -# TESTED ZOOM_options ZOOM_options_create_with_parent(parent) ZOOM_options parent -# TESTED ZOOM_options ZOOM_options_create_with_parent2(parent1, parent2) ZOOM_options parent1 ZOOM_options parent2 -# TESTED const char * ZOOM_options_get(opt, name) ZOOM_options opt const char* name -# TESTED struct datachunk ZOOM_options_getl(opt, name, len) ZOOM_options opt @@ -488,14 +440,12 @@ ZOOM_options_getl(opt, name, len) RETVAL len -# TESTED void ZOOM_options_set(opt, name, v) ZOOM_options opt const char* name const char* v -# TESTED void ZOOM_options_setl(opt, name, value, len) ZOOM_options opt @@ -503,56 +453,47 @@ ZOOM_options_setl(opt, name, value, len) opaquechar* value int len -# TESTED void ZOOM_options_destroy(opt) ZOOM_options opt -# TESTED int ZOOM_options_get_bool(opt, name, defa) ZOOM_options opt const char* name int defa -# TESTED int ZOOM_options_get_int(opt, name, defa) ZOOM_options opt const char* name int defa -# TESTED void ZOOM_options_set_int(opt, name, value) ZOOM_options opt const char* name int value -# TESTED ZOOM_package ZOOM_connection_package(c, options) ZOOM_connection c ZOOM_options options -# TESTED void ZOOM_package_destroy(p) ZOOM_package p -# TESTED void ZOOM_package_send(p, type) ZOOM_package p const char * type -# TESTED const char * ZOOM_package_option_get(p, key) ZOOM_package p const char * key -# TESTED void ZOOM_package_option_set(p, key, val) ZOOM_package p