On Wednesday 28 April 2004 14:31, Nick Glencross wrote:
> Time for an update.runtime/parrot/library/Digest/MD5.imc should IMO be better.
> I've now split the code into a library, an example and a test.
> * runtime/parrot/include/Digest_MD5.imc (_md5sum and _md5_print calls)
You should put the functions into a seperate namespace with
to avoid problems with duplicated function names.
$P0 = find_global "Digest::MD5", "md5sum"
which is AFAIK the offical way to call external functions.
> * examples/assembly/md5sum.imcIt has nothing to do with imcc.
> * imcc/t/syn/md5.t
> I don't know if the test lives in the most appropriate directory.
Library tests will go into t/library: t/library/Digest/MD5.t
> Investigating why some checksums were coming out wrong, I've now seenOf course!
> that 'read' operation only reads at max 64K of data, so I've now limited
> the file size that the example runs on.
> Also, I tried using the @MAIN pragma, this seemed to break with JIT
> Could I be getting close to having this included with parrot?
Leo, what is the status of the pending changes WRT library paths?
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.