Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

More than one fetchable function in one C-Module

6 views
Skip to first unread message

m.mold...@gmail.com

unread,
Oct 14, 2013, 5:11:14 AM10/14/13
to
Hello,

it is possible to have more than one fetchable function in one C-Module, like in WIN/LIN GetProcAddress/dlsym:

#pragma linkage(func1, fetchable)
#pragma linkage(func2, fetchable)
#pragma linkage(func3, fetchable)

int func1(int a, int b)
{
return(a+b);
}
int func2(int a, int b)
{
return(a-b);
}
int func3(int a, int b)
{
return(a=b);
}

0 new messages