harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geir Magnusson Jr." <g...@pobox.com>
Subject Re: [drlvm] the big soup of VM properties (HARMONY-1626)
Date Tue, 10 Oct 2006 15:56:53 GMT


Alexey Varlamov wrote:
> 2006/10/10, Dmitry Yershov <dmitry.yershov@gmail.com>:
>>
>> > 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: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message