Daniel Gruber | 11 May 2012 15:17

Re: DRMAAv2 C binding - Final Draft

Hi Stefan,

Am 11.05.2012 um 14:49 schrieb Klauck, Stefan:

> Hello,
> 
> I put my comments below.
> 
> Best regards
> Stefan
> 
> 
> On May 9, 2012, at 4:47 PM, Daniel Gruber wrote:
> 
> For the current public comment period I've following issues:
> 
> 295: drmaa2_list_get(.., int pos) -> pos should be const, the implementation does not need to change it
> - 297 int pos -> same
> 
> The 'const' is not really necessary in the header file since the implementation file can add the const, too.
> 
> The following example is legal c code:
> 
> //foo.h
> void foo(int bar);
> 
> //foo.c
> void foo(const int bar);
> 

(Continue reading)


Gmane