Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion [PATCH Wrap Out Parameters in PMCs]
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Chromatic  
View profile  
 More options Apr 29 2004, 10:49 pm
Newsgroups: perl.perl6.internals
From: bugs-par...@netlabs.develooper.com (Chromatic)
Date: Thu, 29 Apr 2004 19:49:48 -0700
Local: Thurs, Apr 29 2004 10:49 pm
Subject: [perl #29261] [PATCH Wrap Out Parameters in PMCs]

# New Ticket Created by  chromatic
# Please include the string:  [perl #29261]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=29261 >

Following up on the idea Leo and I discussed this morning, here's a
patch that expects integer out parameters to be wrapped in some sort of
INTVALy PMCs.

This solves my problem rather nicely.

One test in t/pmc/nci.t needed patching and I added a test.

If this is acceptable, we should do the same for float and string out
parameters too.

Please note that this only affects integers passed to NCI subs via
pointers.

-- c

  wrap_int_pointers.patch
3K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.