Is it possible to:
1) define methods for a PMC/Object in C that aren't vtable methods? How?
2) call subroutines defined in bytecode from C? How?
William Coleda wrote:
I think it's worth mentioning C<.flatten_arg> in the first answer, and
the wording of the second answer needs a bit more explanation, perhaps:
Added a C<.flatten_arg> examples as well as your C snippets from
the previous mail.
Thanks,
leo
I should have said there was no I PIR syntax help =-). I found a test for
C<.flatten_arg> after I saw it on the list, but it wasn't in the IMCC docs. That would have
saved me some time...
(That wording, btw, wasn't in there when I wrote my version. Must have missed a sync)
I'm an edge case becaus
Leopold Toetsch wrote:
William Coleda <[EMAIL PROTECTED]> wrote:
I was going to submit this as a patch, but I ended up with a conflict,
and Dan threatened he wouldn't apply it anyway, so I'll just post it
here for comment. Feel free to apply any or all of it. I would be very
happy to hear of a be
> Your answer is about compiling a subroutine that
> does something. What's wrong with the current
wording:
>
> How do I generate a sub call with a
> variable-length parameter list in PIR?
>
> Use unprototyped calls and functions and pass
> as many arguments as you have.
Well, for
William Coleda <[EMAIL PROTECTED]> wrote:
> I was going to submit this as a patch, but I ended up with a conflict,
> and Dan threatened he wouldn't apply it anyway, so I'll just post it
> here for comment. Feel free to apply any or all of it. I would be very
> happy to hear of a better way to ans
On May-29, Brent 'Dax' Royal-Gordon wrote:
> William Coleda wrote:
> >=head2 How do I generate a sub call with a variable-length parameter
> >list in PIR?
> >
> >This is currently not trivial.
> ...
> >=head2 How do I retrieve the contents of a variable-length parameter
> >list being passed to m
William Coleda wrote:
=head2 How do I generate a sub call with a variable-length parameter
list in PIR?
This is currently not trivial.
...
=head2 How do I retrieve the contents of a variable-length parameter
list being passed to me?
The easiest way to do this is to use the C opcode to take a
I was going to submit this as a patch, but I ended up with a conflict, and Dan
threatened he wouldn't apply it anyway, so I'll just post it here for comment. Feel
free to apply any or all of it. I would be very happy to hear of a better way to
answer the first question. =-)
---
=head2 How do I
On Mon, 2004-05-17 at 19:40, TOGoS wrote:
> This patch adds an extensive answer to "what's with
> lexical pads?", and simple answers to "how do i call a
> function?". It also adds several questions regarding
> object methods and attributes, and manages to answer
> one of them.
Thanks, I'll apply
# New Ticket Created by TOGoS
# Please include the string: [perl #29674]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org:80/rt3/Ticket/Display.html?id=29674 >
This patch adds an extensive answer to "what's with
lexical pads?", and simple answers to "h
At 2:33 PM -0700 5/11/04, TOGoS (via RT) wrote:
# New Ticket Created by TOGoS
# Please include the string: [perl #29517]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org:80/rt3/Ticket/Display.html?id=29517 >
There were 2 simultaneous patches and it got ful
# New Ticket Created by TOGoS
# Please include the string: [perl #29517]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org:80/rt3/Ticket/Display.html?id=29517 >
There were 2 simultaneous patches and it got full of
diff garbage. This will clean it back u
13 matches
Mail list logo