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/19 22:27:29 UTC

[lucy-commits] svn commit: r1220956 - in /incubator/lucy/trunk/clownfish/src: CFCType.h CFCVariable.h

Author: marvin
Date: Mon Dec 19 21:27:29 2011
New Revision: 1220956

URL: http://svn.apache.org/viewvc?rev=1220956&view=rev
Log:
Remove build-killing junk from .h files.

Modified:
    incubator/lucy/trunk/clownfish/src/CFCType.h
    incubator/lucy/trunk/clownfish/src/CFCVariable.h

Modified: incubator/lucy/trunk/clownfish/src/CFCType.h
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/clownfish/src/CFCType.h?rev=1220956&r1=1220955&r2=1220956&view=diff
==============================================================================
--- incubator/lucy/trunk/clownfish/src/CFCType.h (original)
+++ incubator/lucy/trunk/clownfish/src/CFCType.h Mon Dec 19 21:27:29 2011
@@ -60,11 +60,6 @@ CFCType*
 CFCType_init(CFCType *self, int flags, struct CFCParcel *parcel,
              const char *specifier, int indirection, const char *c_string);
 
-    my $type = Clownfish::Type->new_integer(
-        const     => 1,       # default: undef
-        specifier => 'char',  # required
-    );
-
 /** Return a Type representing an integer primitive.
  *
  * Support is limited to a subset of the standard C integer types:
@@ -104,19 +99,6 @@ CFCType_new_integer(int flags, const cha
 CFCType*
 CFCType_new_float(int flags, const char *specifier);
 
-
-=head2 new_object
-
-    my $type = Clownfish::Type->new_object(
-        specifier   => "Lobster",       # required
-        parcel      => "Crustacean",    # default: the default Parcel.
-        const       => undef,           # default undef
-        indirection => 1,               # default 1
-        incremented => 1,               # default 0
-        decremented => 0,               # default 0
-        nullable    => 1,               # default 0
-    );
-
 /** Create a Type representing an object.
  *
  * The supplied <code>specifier</code> must match the last component of the

Modified: incubator/lucy/trunk/clownfish/src/CFCVariable.h
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/clownfish/src/CFCVariable.h?rev=1220956&r1=1220955&r2=1220956&view=diff
==============================================================================
--- incubator/lucy/trunk/clownfish/src/CFCVariable.h (original)
+++ incubator/lucy/trunk/clownfish/src/CFCVariable.h Mon Dec 19 21:27:29 2011
@@ -36,15 +36,6 @@ typedef struct CFCVariable CFCVariable;
 struct CFCParcel;
 struct CFCType;
 
-    my $var = Clownfish::Variable->new(
-        parcel      => 'Crustacean',
-        type        => $int32_t_type,            # required
-        micro_sym   => 'average_lifespan',       # required
-        exposure    => 'parcel',                 # default: 'local'
-        class_name  => "Crustacean::Lobster",    # default: undef
-        class_cnick => "Lobster",                # default: undef
-    );
-
 /** 
  * @param type A Clownfish::Type.
  * @param micro_sym The variable's name, without any namespacing prefixes.