Information about a function declaration

P

prabhu.pravin

I came across a function declaration of the form

LOCAL(int *)
function_name (int a, char *b)
{
code...
}


I wanted to know what the LOCAL keyword indicates in this declaration?

thanks,
 
?

=?ISO-8859-1?Q?=22Nils_O=2E_Sel=E5sdal=22?=

I came across a function declaration of the form

LOCAL(int *)
function_name (int a, char *b)
{
code...
}


I wanted to know what the LOCAL keyword indicates in this declaration?
LOCAL isn't defined by C, likely it's a macro , so try to figure out
what it is defined as.
 
R

Richard Bos

I came across a function declaration of the form

LOCAL(int *)
function_name (int a, char *b)
{
code...
}


I wanted to know what the LOCAL keyword indicates in this declaration?

Nothing whatsoever, as far as C is concerned. In fact, in straight C
this is a syntax error. Since it's capitalised, it's probably #defined
as a macro somewhere else in your code, with a definition that both
makes this syntactical and explains its meaning.

Richard
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,540
Members
45,025
Latest member
KetoRushACVFitness

Latest Threads

Top