Harry Jackson <[EMAIL PROTECTED]> wrote:
> I am at the point now where I need to know what type of format you want
> the data to come out in.
The first question is: how are these data returned in C. If that's a
defined structure, I'd overlay this structure with an UnManagedStruct
PMC and then acc
Harry Jackson wrote:
Dan Sugalski wrote:
> getting back a full row as an array, getting back a full
row as a hash, and stuff like that. Nothing fancy, and nothing that
high-level, but enough to work the basics without quite as manual work
as the current libpg requires.
OK.
I am at the poi
Abstract pmcs should appear in core_pmcs.h and pmctypes.pasm
because one needs them as base pmcs so as to declare
pseudo-registers. This is a prerequisite to add pmc type checking
to imcc. Working on a patch to fix that, I got some questions to
be answered.
Unlike other pmcs, abstract pmcs have na
> At 11:01 PM + 1/11/04, Jonathan Worthington wrote:
> >Hi,
> >
> >In t/examples/pni/win32api.t I have this:-
> >
> > # Load user32.dll library and the MessageBoxA API.
> > .sym var libuser32
> > .sym var MessageBoxA
> > loadlib libuser32, "user32"
> > dlfunc MessageBoxA, libuser32, "Messa
At 11:01 PM + 1/11/04, Jonathan Worthington wrote:
Hi,
In t/examples/pni/win32api.t I have this:-
# Load user32.dll library and the MessageBoxA API.
.sym var libuser32
.sym var MessageBoxA
loadlib libuser32, "user32"
dlfunc MessageBoxA, libuser32, "MessageBoxA", "llttl"
Which used to wor
Hi,
In t/examples/pni/win32api.t I have this:-
# Load user32.dll library and the MessageBoxA API.
.sym var libuser32
.sym var MessageBoxA
loadlib libuser32, "user32"
dlfunc MessageBoxA, libuser32, "MessageBoxA", "llttl"
Which used to work fine, however now I get:-
error:imcc:Unknown PMC ty
First off apologies if there is some posting/site which details
this well - I started at www.parrotcode.org and spent a while
fruitlessly wondering why noone had posted at the mailing list
archive nicely html'ified
http://archive.develooper.com/[EMAIL PROTECTED]/ for a while
before finding the fa
On Jan 11, 2004, at 3:10 AM, Leopold Toetsch wrote:
Bernhard Schmalhofer <[EMAIL PROTECTED]> wrote:
'make fulltest' gives 6 reports. 5 reports for different parrot
options plus
1 report for t/src/*.t.
Dou you see a simple way, to run all tests in one harness for
"fulltest". That would need some
On Sun, 11 Jan 2004, Leopold Toetsch wrote:
> Michal Wallace <[EMAIL PROTECTED]> wrote:
> > When you invoke a Coroutine, it calls swap_context()
> > from src/sub.c ... There's an else clause in there
> > that either swaps or restores theinterpreter stack,
> > but as far as I can tell, swap_conte
On Sun, Jan 11, 2004 at 12:33:16PM +0100, Leopold Toetsch wrote:
> Stéphane Payrard <[EMAIL PROTECTED]> wrote:
>
> Thanks, applied - plus ...
>
> > INTVAL get_integer_keyed (PMC* attr) {
> > - return SELF.get_integer_keyed_str(key_string(interpreter, attr));
> > +int flag = PObj_ge
Dan Sugalski wrote:
> getting back a full row as an array, getting back a full
row as a hash, and stuff like that. Nothing fancy, and nothing that
high-level, but enough to work the basics without quite as manual work
as the current libpg requires.
OK.
I am at the point now where I need to k
[ warnocked ]
Leopold Toetsch <[EMAIL PROTECTED]> wrote:
> The set_integer_native() vtable method of arrays is implemented
> inconsistently. The old historical way in Array was to set an initial
> size. My implementation in SArray OTOH only reserves the needed store,
> but doesn't change the eleme
[ I think this still needs some clarification ]
Leopold Toetsch <[EMAIL PROTECTED]> wrote:
> Dan Sugalski <[EMAIL PROTECTED]> wrote:
>> At 10:42 PM +0100 12/17/03, Leopold Toetsch wrote:
>>>While playing with calling threaded subs, I came along a thing which
>>>I think might be suboptimal:
>>>pdd0
Michal Wallace <[EMAIL PROTECTED]> wrote:
> Hey all,
> When you invoke a Coroutine, it calls swap_context()
> from src/sub.c ... There's an else clause in there
> that either swaps or restores theinterpreter stack,
> but as far as I can tell, swap_context() is ONLY
> called when entering a corou
On Sat, Jan 10, 2004 at 10:30:47PM +0100, Stéphane Payrard wrote:
> retry
You're trying to attache a file with a name ending in .t ?
They get eaten. I forget why. And I forget why it's not been possible
to change the configuration on the list software to tell it that it's
on a diet.
Nicholas Cla
Leopold Toetsch wrote:
Harry Jackson <[EMAIL PROTECTED]> wrote:
251 .local pmc CONN
252 .local int int_answer
253 print "About to Connect\n"
254 P0 = C[0]
255 S5 = s
256 invoke
257 CONN = P5
Calling the sub is something like this (untested)
Lars Balker Rasmussen <[EMAIL PROTECTED]> wrote:
> I have added floor and ceil ops (like I did for floor in september,
> but noone noticed).
Thanks, applied.
leo
On Tue, Nov 18, 2003 at 09:57:02AM -0500, Dan Sugalski wrote:
> FWIW, with these changes rather than using the literal "perl" use $^X
> instead. That picks up the perl being used rather than whatever comes
> first in the search path, which may not be the perl being used for
> configure.
There was
On Sun, Jan 11, 2004 at 12:10:16PM +0100, Leopold Toetsch wrote:
> Bernhard Schmalhofer <[EMAIL PROTECTED]> wrote:
> > Hi,
>
> > this patch is an attempt at resolving an item from 'parrot/TODO':
> >Unify t/* and imcc/t/* tests, so that one harness has just one
> > result summary.
>
> Fine
Bernhard Schmalhofer <[EMAIL PROTECTED]> wrote:
> Hi,
> this patch is an attempt at resolving an item from 'parrot/TODO':
>Unify t/* and imcc/t/* tests, so that one harness has just one
> result summary.
Fine, thanks - applied.
> 'make fulltest' gives 6 reports. 5 reports for different p
Lars Balker Rasmussen <[EMAIL PROTECTED]> wrote:
> I have rewritten some more of the tests in t/src to use the "proper"
> approach to doing resource-juggling. The tests that I haven't touched
> don't seem to be reliant on this.
Thanks, applied
leo
Stéphane Payrard <[EMAIL PROTECTED]> wrote:
Thanks, applied - plus ...
> INTVAL get_integer_keyed (PMC* attr) {
> - return SELF.get_integer_keyed_str(key_string(interpreter, attr));
> +int flag = PObj_get_FLAGS(attr) & KEY_type_FLAGS;
... a comment, why we might need that.
leo
On Sat, Jan 10, 2004 at 04:25:58PM -0800, Jeff Clites wrote:
> allocate chunks of memory with arbitrary power-of-2 alignment. So all
> the platforms being tested on the tinders probably have this. (Of
> course, you can manually set ARENA_DOD_FLAGS to false in the source,
> for testing.)
My tin
Harry Jackson <[EMAIL PROTECTED]> wrote:
> Commanlib.imc is where I will build an array to contain all the subs to
> call.
>1 .local PerlArray Command
>2 Command = new PerlArray
>3
>4 Command[0] = PQCONNECTSTART
I'd toss that part that generateds the command array
Nicholas Clark <[EMAIL PROTECTED]> wrote:
> How come most tinderboxes kept going without failing? What's making the
> choice on the value of ARENA_DOD_FLAGS ?
ARENA_DOD_FLAGS is turned on by default. If there is no memalign or such
library function (which it depends on), this define is disabled.
Luke Palmer <[EMAIL PROTECTED]> wrote:
> sweep 0 was making parrot segfault for me. The patch explains why.
Oops, thanks - applied,
leo
Luke Palmer <[EMAIL PROTECTED]> wrote:
> I was uneasy when the C and C vtable entries were first
> proposed. Sure, they get the job done for Perl 5, but Perl 6 is
> expanding its notion of context beyond those compiled in. You're
> supposed to be able to add, say, "nontransitive ring" context if
I was uneasy when the C and C vtable entries were first
proposed. Sure, they get the job done for Perl 5, but Perl 6 is
expanding its notion of context beyond those compiled in. You're
supposed to be able to add, say, "nontransitive ring" context if you
want.
There needs to be a way to pass cont
28 matches
Mail list logo