Le 22/12/2010 15:59, Guy Streeter a écrit :
> On 12/22/2010 02:36 AM, Brice Goglin wrote:
>> I'll backport this in 1.1 later, in case somebody wants to fix the
>> English speaking.
>>
>> Brice
>>
>
> For the benefit of the Perl and Python bindings efforts, it would be
> good if we could query the runtime library for it's API version.

Ah, right, we forgot about this. Something like this?

unsigned hwloc_get_api_version(void)
{
  return HWLOC_API_VERSION;
}

We can put this in 1.1.1. But how will you handle earlier releases?

Brice

Reply via email to