Tim Jones wrote:
> 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:
>
Sorry - I'd renamed the function and forgot to update the copied code.
It should have read:
static REALmethodDefinition pluginMethodArray[] = {
{ (REALproc) MontgomeryReduction, REALnoImplementation,
"MontgomeryReduction(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>
>
>
>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>