Hi Hermann,
On Mon, Apr 02 2001, Hermann-Marcus Behrens wrote:
>
> This programm is not compiling(problem with Inline_Stack ??). Does someone
> know, what i'm doing wrong?
perldoc Inline::C
Inline_Stack_Vars
You'll need to use this one, if you want to use the
others. It sets up a few local variables: sp, items, ax
and mark, for use by the other macros. It's not
important to know what they do, but I mention them to
avoid possible name conflicts.
NOTE: Since this macro declares variables, you'll need
to put it with your other variable declarations at the
top of your function. It must come before any executable
statements and before any other Inline_Stack macros.
Move line "Inline_Stack_Vars;" after line "int y = 0;" and it will
work :-)
Cheers,
Norbert
--
Ceterum censeo | PGP encrypted mail preferred.
Redmond esse delendam. | PGP Public Key at www.MPA-Garching.MPG.DE/~nog/