Browse Source

Do actually compile

Pascal Pfiffner 10 years ago
parent
commit
33a395a54d
4 changed files with 15 additions and 13 deletions
  1. 3 3
      Classes/RedlandQueryResults.m
  2. 6 6
      Classes/RedlandStatement.m
  3. 3 1
      README.md
  4. 3 3
      Redland.xcodeproj/project.pbxproj

+ 3 - 3
Classes/RedlandQueryResults.m

@@ -86,8 +86,8 @@ RedlandURI * RedlandSPARQLVariableBindingResultsXMLFormat = nil;
 
 
 #pragma mark - Values
-/*!
- @return Returns the current value of the binding with the given name.
+/**
+ *  @return Returns the current value of the binding with the given name.
  */
 - (RedlandNode *)valueOfBinding:(NSString *)aName
 {
@@ -104,7 +104,7 @@ RedlandURI * RedlandSPARQLVariableBindingResultsXMLFormat = nil;
  */
 - (RedlandNode *)valueOfBindingAtIndex:(int)offset
 {
-    librdf_node * = librdf_query_results_get_binding_value(wrappedObject, offset);
+    librdf_node *value = librdf_query_results_get_binding_value(wrappedObject, offset);
 	if (value) {
 		value = librdf_new_node_from_node(value);
 	}

+ 6 - 6
Classes/RedlandStatement.m

@@ -124,8 +124,8 @@
 	return [[RedlandNode alloc] initWithWrappedObject:node];
 }
 
-/*!
- Returns YES if the receiver has all non-nil subject, predicate, and object parts.
+/**
+ *  @return Returns YES if the receiver has all non-nil subject, predicate, and object parts.
  */
 - (BOOL)isComplete
 {
@@ -135,10 +135,10 @@
 
 
 #pragma mark - Comparing
-/*!
- Returns YES if the receiver matches aStatement.
- @param aStatement The statement to compare the receiver to.
- @attention All parts of aStatement which are non-nil must be equal to their counterparts in the receiver.
+/**
+ *  @param aStatement The statement to compare the receiver to.
+ *  @attention All parts of aStatement which are non-nil must be equal to their counterparts in the receiver.
+ *  @return Returns YES if the receiver matches aStatement.
  */
 - (BOOL)matchesPartialStatement:(RedlandStatement *)aStatement
 {

+ 3 - 1
README.md

@@ -47,6 +47,8 @@ The code is documented using [appledoc]. If you want to compile the documentatio
     $ cd ..
     $ appledoc .
 
+> NOTE: appledoc currently does not support the `///<` token, so some property documentations are shifted and thus off!
+
 Note that this assumes that you have write permissions for `/usr/local`, if not you may need to issue this command as root with `sudo`. The documentation is now available from within Xcode.
 
 
@@ -54,4 +56,4 @@ Note that this assumes that you have write permissions for `/usr/local`, if not
 [raptor2]: http://librdf.org/raptor/
 [rasqal]: http://librdf.org/rasqal/
 [homebrew]: http://mxcl.github.com/homebrew/
-[doxygen]: http://www.stack.nl/~dimitri/doxygen/
+[appledoc]: http://gentlebytes.com/appledoc/

+ 3 - 3
Redland.xcodeproj/project.pbxproj

@@ -1649,7 +1649,7 @@
 				GCC_DYNAMIC_NO_PIC = NO;
 				GCC_OPTIMIZATION_LEVEL = 0;
 				GCC_PRECOMPILE_PREFIX_HEADER = YES;
-				GCC_PREFIX_HEADER = "redland-ios/redland-ios-Prefix.pch";
+				GCC_PREFIX_HEADER = Redland_Prefix.pch;
 				GCC_PREPROCESSOR_DEFINITIONS = (
 					"DEBUG=1",
 					"$(inherited)",
@@ -1683,7 +1683,7 @@
 				GCC_DYNAMIC_NO_PIC = NO;
 				GCC_OPTIMIZATION_LEVEL = 0;
 				GCC_PRECOMPILE_PREFIX_HEADER = YES;
-				GCC_PREFIX_HEADER = "redland-ios/redland-ios-Prefix.pch";
+				GCC_PREFIX_HEADER = Redland_Prefix.pch;
 				GCC_PREPROCESSOR_DEFINITIONS = (
 					"DEBUG=1",
 					"$(inherited)",
@@ -1715,7 +1715,7 @@
 				DSTROOT = /tmp/redland_ios.dst;
 				GCC_C_LANGUAGE_STANDARD = gnu99;
 				GCC_PRECOMPILE_PREFIX_HEADER = YES;
-				GCC_PREFIX_HEADER = "redland-ios/redland-ios-Prefix.pch";
+				GCC_PREFIX_HEADER = Redland_Prefix.pch;
 				GCC_WARN_ABOUT_RETURN_TYPE = YES;
 				GCC_WARN_UNINITIALIZED_AUTOS = YES;
 				GCC_WARN_UNUSED_VARIABLE = YES;