Alexey Varlamov wrote:
2006/10/10, Dmitry Yershov <[EMAIL PROTECTED]>:

> 2) Don't hardcode 'hidden' into the API, as we may have other types down
> the road.  Make it an argument

Ok. So, the latest list of interface functions should be:

   void set_property(const char * key, const char * value, bool type)
   const char * get_property(const char * key, bool type)
   bool is_property_set(const char * key, bool type)
   void unset_property(const char * key, bool type)
   char * * get_properties_keys(bool type)
char * * get_properties_keys_staring_with(const char * prefix, bool type)

Why bool type? Indeed we may want more types in future. And, AFAIU
VM-exported interfaces are in C. Let it be int ?

Yes - that is what I meant - not a boolean, but a bitmap or enum.

geir


---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to