Re: [hwloc-users] Creating a D wrapper around hwloc

2010-04-16 Thread Jim Burnes
Brice, Thanks for the clarification. Since I'm not familiar with them, do you happen to know the scoping of static inlines? Are they expanded using the current scope? Are they pure? Since they aren't guaranteed to be available in the library I'll implement them using templates, though it may

Re: [hwloc-users] Creating a D wrapper around hwloc

2010-04-16 Thread Brice Goglin
Jim Burnes wrote: > I can make these available to D in several different ways, but I need > to know the true intent of marking them as "static __inline". > > 1. Are they marked that way simply to increase performance? > No. > 2. Are they marked that way to avoid some sort of thread safety

[hwloc-users] Creating a D wrapper around hwloc

2010-04-16 Thread Jim Burnes
Hi, I'm creating a D wrapper around hwloc and so far it's going well, but I need some advice... One of the last issues I running into is at link time. Since a number of functions (especially in helper.h) are define as "static __inline" they are essentially macros. This is why they don't appear