hi,
i m sarang the new member of 'thescripts'.
i want to know how to use extern directive with function.
i can better explain my problem in following way:
I saw in one of the project, there was two files test.h and foo.c.
a function body
int foo(int arg)
{
//declarations
}
was defined in foo.c and test.h contained following code :
extern int foo OF((int arg));
I read about extern directive but have problem with understading with use of "OF(( ))" as shown in above line.
thank you
i m sarang the new member of 'thescripts'.
i want to know how to use extern directive with function.
i can better explain my problem in following way:
I saw in one of the project, there was two files test.h and foo.c.
a function body
int foo(int arg)
{
//declarations
}
was defined in foo.c and test.h contained following code :
extern int foo OF((int arg));
I read about extern directive but have problem with understading with use of "OF(( ))" as shown in above line.
thank you
Comment