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

test_main.c oversight

8 views
Skip to first unread message

blo...@perlchina.org

unread,
Jan 20, 2005, 8:48:23 PM1/20/05
to perl6-i...@perl.org
hi,all
I don't find define of "Parrot_setflag()" in test_main.c. but, i finded it in embed.c,it already changeed.(Parrot_set_flag());

test_main.c 27 line

#define setopt(flag) Parrot_setflag(interpreter, flag, (*argv)[0]+2);

#define setopt(flag) Parrot_set_flag(interpreter, flag, (*argv)[0]+2);

en, I compiled test_main.c.


bloves

Leopold Toetsch

unread,
Jan 21, 2005, 2:30:40 AM1/21/05
to blo...@perlchina.org, perl6-i...@perl.org
blo...@perlchina.org <blo...@perlchina.org> wrote:

> I don't find define of "Parrot_setflag()" in test_main.c.

src/test_main.c is unused. Why do you want to compile it?

leo

William Coleda

unread,
Jan 22, 2005, 4:29:36 PM1/22/05
to br...@brentdax.com, l...@toetsch.at, blo...@perlchina.org, perl6-i...@perl.org
If it's an example, let's move it to "example/c/test_main.c", then, and update the comment in the beginning of the file that says:

=head1 DESCRIPTION

THIS FILE IS NO LONGER USED.

with your note.


Brent 'Dax' Royal-Gordon wrote:
> William Coleda <wi...@coleda.com> wrote:
>
>>Then lets remove the file to avoid further confusion.
>
>
> test_main.c is being retained as an example of a non-trivial, but
> still clean, Parrot embedding. imcc/main.c is way too complicated and
> incestuous with internals to fill this role.
>

Brent 'Dax' Royal-Gordon

unread,
Jan 22, 2005, 4:25:58 PM1/22/05
to William Coleda, l...@toetsch.at, blo...@perlchina.org, perl6-i...@perl.org
William Coleda <wi...@coleda.com> wrote:
> Then lets remove the file to avoid further confusion.

test_main.c is being retained as an example of a non-trivial, but
still clean, Parrot embedding. imcc/main.c is way too complicated and
incestuous with internals to fill this role.

--
Brent 'Dax' Royal-Gordon <br...@brentdax.com>
Perl and Parrot hacker

"For those of you that can't spell, this site also contains free
imags, iamges, imges, picturs, pcitures, picktures, picturess, and
pistures."

William Coleda

unread,
Jan 22, 2005, 12:05:42 AM1/22/05
to l...@toetsch.at, blo...@perlchina.org, perl6-i...@perl.org
Then lets remove the file to avoid further confusion.

William Coleda

unread,
Jan 24, 2005, 11:35:45 PM1/24/05
to William Coleda, br...@brentdax.com, l...@toetsch.at, blo...@perlchina.org, perl6-i...@perl.org
This is now moved and updated.

No cvs magic was used in the relocation of this file.

0 new messages