Hi Folks,
Working on a plugin being developed from a current Linux shared library
that requires 2 structs of shorts passed in and a third struct of shorts
for the results to be returned. I understand the process of passing in
the structs as MemoryBlocks as Ptr, and passing the third struct as a
memoryblock byref as a Ptr.
My question is what type of object am I creating when I add my RB
function? Here's the actual function call definition:
static void MontgomeryReduction(unsigned short *m1,
unsigned short *m2,
unsigned short *result)
What type of the entry in the pluginMethodArray[]? For example:
static REALmethodDefinition pluginMethodArray[] = {
{ (REALproc) ModularExp, REALnoImplementation,
"ModularExp(MemoryBlock As Ptr,
MemoryBlock As Ptr,
ByRef MemoryBlock As Ptr)" },
};
I'm obviously missing something.
Thanks,
Tim
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>