You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by ma...@apache.org on 2011/12/20 23:54:28 UTC
[lucy-commits] svn commit: r1221513 - in /incubator/lucy/trunk/clownfish: include/CFC.h
perl/lib/Clownfish.xs perl/typemap src/CFCPerlPod.c src/CFCPerlPod.h
Author: marvin
Date: Tue Dec 20 22:54:28 2011
New Revision: 1221513
URL: http://svn.apache.org/viewvc?rev=1221513&view=rev
Log:
Remove obsolete module CFCPerlPod.
Removed:
incubator/lucy/trunk/clownfish/src/CFCPerlPod.c
incubator/lucy/trunk/clownfish/src/CFCPerlPod.h
Modified:
incubator/lucy/trunk/clownfish/include/CFC.h
incubator/lucy/trunk/clownfish/perl/lib/Clownfish.xs
incubator/lucy/trunk/clownfish/perl/typemap
Modified: incubator/lucy/trunk/clownfish/include/CFC.h
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/clownfish/include/CFC.h?rev=1221513&r1=1221512&r2=1221513&view=diff
==============================================================================
--- incubator/lucy/trunk/clownfish/include/CFC.h (original)
+++ incubator/lucy/trunk/clownfish/include/CFC.h Tue Dec 20 22:54:28 2011
@@ -42,6 +42,5 @@
#include "CFCPerlSub.h"
#include "CFCPerlMethod.h"
#include "CFCPerlConstructor.h"
-#include "CFCPerlPod.h"
#include "CFCPerlTypeMap.h"
Modified: incubator/lucy/trunk/clownfish/perl/lib/Clownfish.xs
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/clownfish/perl/lib/Clownfish.xs?rev=1221513&r1=1221512&r2=1221513&view=diff
==============================================================================
--- incubator/lucy/trunk/clownfish/perl/lib/Clownfish.xs (original)
+++ incubator/lucy/trunk/clownfish/perl/lib/Clownfish.xs Tue Dec 20 22:54:28 2011
@@ -1851,107 +1851,6 @@ CODE:
OUTPUT: RETVAL
-MODULE = Clownfish PACKAGE = Clownfish::Binding::Perl::Pod
-
-SV*
-_new(synopsis, description)
- const char *synopsis;
- const char *description;
-CODE:
- CFCPerlPod *self = CFCPerlPod_new(synopsis, description);
- RETVAL = S_cfcbase_to_perlref(self);
- CFCBase_decref((CFCBase*)self);
-OUTPUT: RETVAL
-
-void
-_add_method(self, name, pod_sv)
- CFCPerlPod *self;
- const char *name;
- SV *pod_sv;
-PPCODE:
- const char *pod = SvPOK(pod_sv) ? SvPVutf8_nolen(pod_sv) : NULL;
- CFCPerlPod_add_method(self, name, pod);
-
-void
-_add_constructor(self, name_sv, pod_sv, func_sv, sample_sv)
- CFCPerlPod *self;
- SV *name_sv;
- SV *pod_sv;
- SV *func_sv;
- SV *sample_sv;
-PPCODE:
- const char *name = SvPOK(name_sv) ? SvPVutf8_nolen(name_sv) : NULL;
- const char *pod = SvPOK(pod_sv) ? SvPVutf8_nolen(pod_sv) : NULL;
- const char *func = SvPOK(func_sv) ? SvPVutf8_nolen(func_sv) : NULL;
- const char *sample = SvPOK(sample_sv) ? SvPVutf8_nolen(sample_sv) : NULL;
- CFCPerlPod_add_constructor(self, name, pod, func, sample);
-
-SV*
-methods_pod(self, klass)
- CFCPerlPod *self;
- CFCClass *klass;
-CODE:
- char *methods_pod = CFCPerlPod_methods_pod(self, klass);
- RETVAL = S_sv_eat_c_string(methods_pod);
-OUTPUT: RETVAL
-
-SV*
-constructors_pod(self, klass)
- CFCPerlPod *self;
- CFCClass *klass;
-CODE:
- char *constructors_pod = CFCPerlPod_constructors_pod(self, klass);
- RETVAL = S_sv_eat_c_string(constructors_pod);
-OUTPUT: RETVAL
-
-void
-_set_or_get(self, ...)
- CFCPerlPod *self;
-ALIAS:
- get_synopsis = 2
- get_description = 4
-PPCODE:
-{
- START_SET_OR_GET_SWITCH
- case 2: {
- const char *value = CFCPerlPod_get_synopsis(self);
- retval = newSVpvn(value, strlen(value));
- }
- break;
- case 4: {
- const char *value = CFCPerlPod_get_description(self);
- retval = newSVpvn(value, strlen(value));
- }
- break;
- END_SET_OR_GET_SWITCH
-}
-
-
-SV*
-_perlify_doc_text(self, source)
- CFCPerlPod *self;
- const char *source;
-CODE:
- RETVAL = S_sv_eat_c_string(CFCPerlPod_perlify_doc_text(self, source));
-OUTPUT: RETVAL
-
-SV*
-_gen_subroutine_pod(self, func, sub_name, klass, code_sample, class_name, is_constructor)
- CFCPerlPod *self;
- CFCFunction *func;
- const char *sub_name;
- CFCClass *klass;
- const char *code_sample;
- const char *class_name;
- int is_constructor;
-CODE:
- char *value = CFCPerlPod_gen_subroutine_pod(self, func, sub_name, klass,
- code_sample, class_name,
- is_constructor);
- RETVAL = S_sv_eat_c_string(value);
-OUTPUT: RETVAL
-
-
MODULE = Clownfish PACKAGE = Clownfish::Binding::Perl::TypeMap
SV*
Modified: incubator/lucy/trunk/clownfish/perl/typemap
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/clownfish/perl/typemap?rev=1221513&r1=1221512&r2=1221513&view=diff
==============================================================================
--- incubator/lucy/trunk/clownfish/perl/typemap (original)
+++ incubator/lucy/trunk/clownfish/perl/typemap Tue Dec 20 22:54:28 2011
@@ -35,7 +35,6 @@ CFCBindClass* CLOWNFISH_BINDING_CORE_TYP
CFCPerlSub* CLOWNFISH_BINDING_PERL_SUBROUTINE
CFCPerlConstructor* CLOWNFISH_BINDING_PERL_COMMON
CFCPerlMethod* CLOWNFISH_BINDING_PERL_COMMON
-CFCPerlPod* CLOWNFISH_BINDING_PERL_COMMON
INPUT