Wiki source for CInline


Show raw source

=====Verwendung von inline=====

%%(c;;main.c)
include "module.h"

main()
{
a = getFSize();
b = getCheckSum(); // b = cs;
}
%%

%%(c;;module.c)
include "module.h"

static int cs;

int getFSize()
{
cs = ...;
return filesize;
}
%%

%%(c;;module.h)
extern static int cs;

int getFSize();

inline int getCheckSum()
{
return cs;
};
%%



----
Siehe auch {{backlinks}}
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki