[ 
https://issues.apache.org/jira/browse/LUCY-89?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marvin Humphrey resolved LUCY-89.
---------------------------------

    Resolution: Fixed

Committed as r894043 and r894044.

> Tighten Clownfish method invocation type checking
> -------------------------------------------------
>
>                 Key: LUCY-89
>                 URL: https://issues.apache.org/jira/browse/LUCY-89
>             Project: Lucy
>          Issue Type: Improvement
>          Components: Clownfish, Core, Perl bindings
>            Reporter: Marvin Humphrey
>            Assignee: Marvin Humphrey
>         Attachments: fallout.diff, tighten_types.diff
>
>
> Clownfish method invocation is implemented using C static inline functions. 
> The first argument to these functions is the object itself, which up till now 
> has been cast to "const void*".  It is better to have the first argument 
> match 
> the type of the invoker, so that the C compiler will issue warnings if you 
> try 
> to invoke a method on an inappropriate object, e.g. "PriQ_Pop(hash)".

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to