tmaly has asked for the wisdom of the Perl Monks concerning the following question:
Monks,
I have been trying to follow the Soldier example in Inline-C-Cookbook however I do not understand the purpose of the line
New(42, soldier, 1, Soldier);
Could someone explain to me what this line does?
Best regards,
Ty
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: question on Inline::C-Cookbook
by BrowserUk (Patriarch) on Feb 19, 2014 at 19:13 UTC | |
by syphilis (Archbishop) on Feb 20, 2014 at 11:44 UTC | |
by BrowserUk (Patriarch) on Feb 20, 2014 at 11:52 UTC | |
by syphilis (Archbishop) on Feb 20, 2014 at 12:32 UTC | |
|
Re: question on Inline::C-Cookbook
by Anonymous Monk on Feb 19, 2014 at 18:26 UTC | |
by tmaly (Monk) on Feb 19, 2014 at 18:37 UTC |