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/02/17 23:25:45 UTC
[lucy-commits] svn commit: r1071815 - in /incubator/lucy/trunk/clownfish/src: CFCBase.h
CFCCBlock.h CFCClass.h CFCFile.h CFCFunction.h CFCMethod.h CFCParamList.h
CFCParcel.h CFCSymbol.h CFCType.h CFCUtil.h CFCVariable.h
Author: marvin
Date: Thu Feb 17 22:25:44 2011
New Revision: 1071815
URL: http://svn.apache.org/viewvc?rev=1071815&view=rev
Log:
Add include guards to .h files.
Modified:
incubator/lucy/trunk/clownfish/src/CFCBase.h
incubator/lucy/trunk/clownfish/src/CFCCBlock.h
incubator/lucy/trunk/clownfish/src/CFCClass.h
incubator/lucy/trunk/clownfish/src/CFCFile.h
incubator/lucy/trunk/clownfish/src/CFCFunction.h
incubator/lucy/trunk/clownfish/src/CFCMethod.h
incubator/lucy/trunk/clownfish/src/CFCParamList.h
incubator/lucy/trunk/clownfish/src/CFCParcel.h
incubator/lucy/trunk/clownfish/src/CFCSymbol.h
incubator/lucy/trunk/clownfish/src/CFCType.h
incubator/lucy/trunk/clownfish/src/CFCUtil.h
incubator/lucy/trunk/clownfish/src/CFCVariable.h
Modified: incubator/lucy/trunk/clownfish/src/CFCBase.h
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/clownfish/src/CFCBase.h?rev=1071815&r1=1071814&r2=1071815&view=diff
==============================================================================
--- incubator/lucy/trunk/clownfish/src/CFCBase.h (original)
+++ incubator/lucy/trunk/clownfish/src/CFCBase.h Thu Feb 17 22:25:44 2011
@@ -14,6 +14,9 @@
* limitations under the License.
*/
+#ifndef H_CFCBASE
+#define H_CFCBASE
+
typedef struct CFCBase CFCBase;
#ifdef CFC_NEED_BASE_STRUCT_DEF
@@ -55,3 +58,5 @@ CFCBase_decref(CFCBase *self);
void*
CFCBase_get_perl_obj(CFCBase *self);
+#endif /* H_CFCBASE */
+
Modified: incubator/lucy/trunk/clownfish/src/CFCCBlock.h
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/clownfish/src/CFCCBlock.h?rev=1071815&r1=1071814&r2=1071815&view=diff
==============================================================================
--- incubator/lucy/trunk/clownfish/src/CFCCBlock.h (original)
+++ incubator/lucy/trunk/clownfish/src/CFCCBlock.h Thu Feb 17 22:25:44 2011
@@ -14,6 +14,9 @@
* limitations under the License.
*/
+#ifndef H_CFCCBLOCK
+#define H_CFCCBLOCK
+
typedef struct CFCCBlock CFCCBlock;
CFCCBlock*
@@ -28,3 +31,5 @@ CFCCBlock_destroy(CFCCBlock *self);
const char*
CFCCBlock_get_contents(CFCCBlock *self);
+#endif /* H_CFCCBLOCK */
+
Modified: incubator/lucy/trunk/clownfish/src/CFCClass.h
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/clownfish/src/CFCClass.h?rev=1071815&r1=1071814&r2=1071815&view=diff
==============================================================================
--- incubator/lucy/trunk/clownfish/src/CFCClass.h (original)
+++ incubator/lucy/trunk/clownfish/src/CFCClass.h Thu Feb 17 22:25:44 2011
@@ -14,6 +14,9 @@
* limitations under the License.
*/
+#ifndef H_CFCCLASS
+#define H_CFCCLASS
+
typedef struct CFCClass CFCClass;
struct CFCParcel;
@@ -29,3 +32,5 @@ CFCClass_init(CFCClass *self, struct CFC
void
CFCClass_destroy(CFCClass *self);
+#endif /* H_CFCCLASS */
+
Modified: incubator/lucy/trunk/clownfish/src/CFCFile.h
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/clownfish/src/CFCFile.h?rev=1071815&r1=1071814&r2=1071815&view=diff
==============================================================================
--- incubator/lucy/trunk/clownfish/src/CFCFile.h (original)
+++ incubator/lucy/trunk/clownfish/src/CFCFile.h Thu Feb 17 22:25:44 2011
@@ -14,6 +14,9 @@
* limitations under the License.
*/
+#ifndef H_CFCFILE
+#define H_CFCFILE
+
typedef struct CFCFile CFCFile;
CFCFile*
@@ -25,3 +28,5 @@ CFCFile_init(CFCFile *self);
void
CFCFile_destroy(CFCFile *self);
+#endif /* H_CFCFILE */
+
Modified: incubator/lucy/trunk/clownfish/src/CFCFunction.h
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/clownfish/src/CFCFunction.h?rev=1071815&r1=1071814&r2=1071815&view=diff
==============================================================================
--- incubator/lucy/trunk/clownfish/src/CFCFunction.h (original)
+++ incubator/lucy/trunk/clownfish/src/CFCFunction.h Thu Feb 17 22:25:44 2011
@@ -14,6 +14,9 @@
* limitations under the License.
*/
+#ifndef H_CFCFUNCTION
+#define H_CFCFUNCTION
+
typedef struct CFCFunction CFCFunction;
#ifdef CFC_NEED_FUNCTION_STRUCT_DEF
@@ -56,3 +59,5 @@ CFCFunction_get_docucomment(CFCFunction
int
CFCFunction_inline(CFCFunction *self);
+#endif /* H_CFCFUNCTION */
+
Modified: incubator/lucy/trunk/clownfish/src/CFCMethod.h
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/clownfish/src/CFCMethod.h?rev=1071815&r1=1071814&r2=1071815&view=diff
==============================================================================
--- incubator/lucy/trunk/clownfish/src/CFCMethod.h (original)
+++ incubator/lucy/trunk/clownfish/src/CFCMethod.h Thu Feb 17 22:25:44 2011
@@ -14,6 +14,9 @@
* limitations under the License.
*/
+#ifndef H_CFCMETHOD
+#define H_CFCMETHOD
+
typedef struct CFCMethod CFCMethod;
CFCMethod*
@@ -55,3 +58,5 @@ CFCMethod_set_novel(CFCMethod *self, int
int
CFCMethod_novel(CFCMethod *self);
+#endif /* H_CFCMETHOD */
+
Modified: incubator/lucy/trunk/clownfish/src/CFCParamList.h
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/clownfish/src/CFCParamList.h?rev=1071815&r1=1071814&r2=1071815&view=diff
==============================================================================
--- incubator/lucy/trunk/clownfish/src/CFCParamList.h (original)
+++ incubator/lucy/trunk/clownfish/src/CFCParamList.h Thu Feb 17 22:25:44 2011
@@ -14,6 +14,9 @@
* limitations under the License.
*/
+#ifndef H_CFCPARAMLIST
+#define H_CFCPARAMLIST
+
typedef struct CFCParamList CFCParamList;
struct CFCVariable;
@@ -42,3 +45,5 @@ CFCParamList_variadic(CFCParamList *self
size_t
CFCParamList_num_vars(CFCParamList *self);
+#endif /* H_CFCPARAMLIST */
+
Modified: incubator/lucy/trunk/clownfish/src/CFCParcel.h
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/clownfish/src/CFCParcel.h?rev=1071815&r1=1071814&r2=1071815&view=diff
==============================================================================
--- incubator/lucy/trunk/clownfish/src/CFCParcel.h (original)
+++ incubator/lucy/trunk/clownfish/src/CFCParcel.h Thu Feb 17 22:25:44 2011
@@ -14,6 +14,9 @@
* limitations under the License.
*/
+#ifndef H_CFCPARCEL
+#define H_CFCPARCEL
+
typedef struct CFCParcel CFCParcel;
CFCParcel*
@@ -49,3 +52,5 @@ CFCParcel_get_Prefix(CFCParcel *self);
const char*
CFCParcel_get_PREFIX(CFCParcel *self);
+#endif /* H_CFCPARCEL */
+
Modified: incubator/lucy/trunk/clownfish/src/CFCSymbol.h
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/clownfish/src/CFCSymbol.h?rev=1071815&r1=1071814&r2=1071815&view=diff
==============================================================================
--- incubator/lucy/trunk/clownfish/src/CFCSymbol.h (original)
+++ incubator/lucy/trunk/clownfish/src/CFCSymbol.h Thu Feb 17 22:25:44 2011
@@ -14,6 +14,9 @@
* limitations under the License.
*/
+#ifndef H_CFCSYMBOL
+#define H_CFCSYMBOL
+
typedef struct CFCSymbol CFCSymbol;
struct CFCParcel;
@@ -95,3 +98,5 @@ CFCSymbol_get_Prefix(CFCSymbol *self);
const char*
CFCSymbol_get_PREFIX(CFCSymbol *self);
+#endif /* H_CFCSYMBOL */
+
Modified: incubator/lucy/trunk/clownfish/src/CFCType.h
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/clownfish/src/CFCType.h?rev=1071815&r1=1071814&r2=1071815&view=diff
==============================================================================
--- incubator/lucy/trunk/clownfish/src/CFCType.h (original)
+++ incubator/lucy/trunk/clownfish/src/CFCType.h Thu Feb 17 22:25:44 2011
@@ -14,6 +14,9 @@
* limitations under the License.
*/
+#ifndef H_CFCTYPE
+#define H_CFCTYPE
+
typedef struct CFCType CFCType;
struct CFCParcel;
@@ -134,3 +137,5 @@ CFCType_is_arbitrary(CFCType *self);
int
CFCType_is_composite(CFCType *self);
+#endif /* H_CFCTYPE */
+
Modified: incubator/lucy/trunk/clownfish/src/CFCUtil.h
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/clownfish/src/CFCUtil.h?rev=1071815&r1=1071814&r2=1071815&view=diff
==============================================================================
--- incubator/lucy/trunk/clownfish/src/CFCUtil.h (original)
+++ incubator/lucy/trunk/clownfish/src/CFCUtil.h Thu Feb 17 22:25:44 2011
@@ -14,6 +14,9 @@
* limitations under the License.
*/
+#ifndef H_CFCUTIL
+#define H_CFCUTIL
+
/** Create an inner Perl object with a refcount of 1. For use in actual
* Perl-space, it is necessary to wrap this inner object in an RV.
*/
@@ -35,3 +38,5 @@ CFCUtil_strndup(const char *string, size
void
CFCUtil_trim_whitespace(char *text);
+#endif /* H_CFCUTIL */
+
Modified: incubator/lucy/trunk/clownfish/src/CFCVariable.h
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/clownfish/src/CFCVariable.h?rev=1071815&r1=1071814&r2=1071815&view=diff
==============================================================================
--- incubator/lucy/trunk/clownfish/src/CFCVariable.h (original)
+++ incubator/lucy/trunk/clownfish/src/CFCVariable.h Thu Feb 17 22:25:44 2011
@@ -14,6 +14,9 @@
* limitations under the License.
*/
+#ifndef H_CFCVARIABLE
+#define H_CFCVARIABLE
+
typedef struct CFCVariable CFCVariable;
struct CFCParcel;
struct CFCType;
@@ -50,3 +53,5 @@ CFCVariable_local_declaration(CFCVariabl
void*
CFCVariable_get_perl_obj(CFCVariable *self);
+#endif /* H_CFCVARIABLE */
+