rhelgeby
01-29-2012, 17:51
I'm trying to use the #section directive to name a section of the code with static stock functions (private scoped), so I can access those functions from another file by using the same section name there too. Only those files should have access, not other files.
The compiler doesn't recognize this directive, but according to the Pawn Language Guide it's valid. Is this directive implemented in SourcePawn too, or am I doing something wrong? Just try the code below in the online compiler:
#section a
static stock TestA()
{
}
#section b
static stock TestB()
{
}
The compiler doesn't recognize this directive, but according to the Pawn Language Guide it's valid. Is this directive implemented in SourcePawn too, or am I doing something wrong? Just try the code below in the online compiler:
#section a
static stock TestA()
{
}
#section b
static stock TestB()
{
}