Changeset 2045 for libswish3/trunk/bindings/perl/macros.h
- Timestamp:
- 03/07/08 22:32:33 (10 months ago)
- Files:
-
- libswish3/trunk/bindings/perl/macros.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
libswish3/trunk/bindings/perl/macros.h
r2029 r2045 14 14 #define WORD_CLASS "SWISH::3::Word" 15 15 #define DOC_CLASS "SWISH::3::Doc" 16 #define PROPERTY_CLASS "SWISH::3::Property" 17 #define METANAME_CLASS "SWISH::3::MetaName" 18 #define PROPERTY_HASH_CLASS "SWISH::3::PropertyHash" 19 #define METANAME_HASH_CLASS "SWISH::3::MetaNameHash" 20 #define XML2_HASH_CLASS "SWISH::3::xml2Hash" 16 21 #define SELF_KEY "sp_self" 17 22 #define CONFIG_KEY "sp_config" … … 31 36 if (items < 2) \ 32 37 croak("usage: $object->set_xxxxxx($val)"); \ 38 \ 39 if (!SvTRUE(ST(1))) \ 40 croak("usage: requires true value"); \ 33 41 } \ 34 42 else { \
