celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pnol...@apache.org
Subject [2/4] celix git commit: CELIX-249: Refactors most uses of char* / char** to const char*/const char**
Date Wed, 06 Jul 2016 11:02:37 GMT
http://git-wip-us.apache.org/repos/asf/celix/blob/6f85bf3c/utils/public/include/version.h
----------------------------------------------------------------------
diff --git a/utils/public/include/version.h b/utils/public/include/version.h
index 3144740..16f4809 100644
--- a/utils/public/include/version.h
+++ b/utils/public/include/version.h
@@ -93,7 +93,7 @@ celix_status_t version_clone(version_pt version, version_pt *clone);
  * 		- CELIX_ILLEGAL_ARGUMENT If the numerical components are negative,
  * 		  	the qualifier string is invalid or <code>versionStr</code> is improperly
formatted.
  */
-celix_status_t version_createVersionFromString(char * versionStr, version_pt *version);
+celix_status_t version_createVersionFromString(const char * versionStr, version_pt *version);
 
 /**
  * The empty version "0.0.0".
@@ -110,7 +110,7 @@ celix_status_t version_createEmptyVersion(version_pt *version);
 celix_status_t version_getMajor(version_pt version, int *major);
 celix_status_t version_getMinor(version_pt version, int *minor);
 celix_status_t version_getMicro(version_pt version, int *micro);
-celix_status_t version_getQualifier(version_pt version, char **qualifier);
+celix_status_t version_getQualifier(version_pt version, const char **qualifier);
 
 /**
  * Compares this <code>Version</code> object to another object.


Mime
View raw message