Chris Dolan <[EMAIL PROTECTED]> writes:

>> Wouldn't it then be a better approach to have Perl expose the
>> necessary entry point(s) so you can use them from XS, instead of
>> having to go the way of cutting/pasting?
>
> This question makes no sense to me.

Then I've probably misphrased my question.

John points out that in blead, the C code of version is identical to
but physically distinct from code in perl itself. It requires
cut/paste to update one if the other changes.

My suggestion is, that in that case, it would be better to have perl
expose the necessary entry point(s) so version can call this entry
point directly, instead of going the (tedious and error-prone) way of
cut/paste.

It's more a general suggestion, applyable to all cases where perl and
corelibrary routines share code.

-- Johan

Reply via email to