S
Sune
Hi,
I'd like to know where to put my restrict qualifier for function
parameters.
I have to files:
test.h and test.c
In test.h I have the declaration:
void test_func( int* p);
and in test.c I have the definition:
void test_func( int* p)
{
*p += 1;
}
For pointer p, do I have to put the restrict qualifier in test.h or
test.c or both?
BRs
/Sune
I'd like to know where to put my restrict qualifier for function
parameters.
I have to files:
test.h and test.c
In test.h I have the declaration:
void test_func( int* p);
and in test.c I have the definition:
void test_func( int* p)
{
*p += 1;
}
For pointer p, do I have to put the restrict qualifier in test.h or
test.c or both?
BRs
/Sune