celix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [celix] rlenferink opened a new issue #109: Update properties set and get function to support a multitude of primitive input/ouput tupes
Date Sat, 28 Sep 2019 17:10:57 GMT
rlenferink opened a new issue #109: Update properties set and get function to support a multitude
of primitive input/ouput tupes
URL: https://github.com/apache/celix/issues/109
 
 
   It would be nice to support additional method to store/retrieve values as primitives types
(e..g int, long) and arrays of those primitive types (e.g. comma separated) for celix properties.
   
   Support at least:
   ```C
   int, unsigned int, long int, unsigned long int, float and double and the array variants.
   ```
   
   E.g. :
   ```C
   void properties_setInt(properties_t * props, int value);
   int properties_getInt(const properties_t * props, int defaultValue);
   void properties_setIntArray(properties_t* props, const char *sep, int[] values, size_t
len);
   size_t properties_getIntArray(const properties_t* props, const char *sep, int** outArray);
   ```
    
   etc

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message