[
https://issues.apache.org/jira/browse/GEODE-4427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Addison updated GEODE-4427:
---------------------------
Description:
This callback should not be in Serializable.hpp or it might not be needed.
{code:java}
typedef void (*CliCallbackMethod)(Cache &cache);{code}
Modernize the below header to used std::function.
This should implement {{std::function}}.
{code:java}
typedef PdxSerializable* (*TypeFactoryMethodPdx)();{code}
was:
This is probably doesn't belong here.
{code:java}
typedef void (*CliCallbackMethod)(Cache &cache);{code}
This should implement {{std::function}}.
{code:java}
typedef PdxSerializable* (*TypeFactoryMethodPdx)();{code}
> Cleanup function pointer types in Serializable.hpp
> --------------------------------------------------
>
> Key: GEODE-4427
> URL: https://issues.apache.org/jira/browse/GEODE-4427
> Project: Geode
> Issue Type: Improvement
> Components: native client
> Reporter: Jacob S. Barrett
> Priority: Major
>
> This callback should not be in Serializable.hpp or it might not be needed.
> {code:java}
> typedef void (*CliCallbackMethod)(Cache &cache);{code}
> Modernize the below header to used std::function.
> This should implement {{std::function}}.
> {code:java}
> typedef PdxSerializable* (*TypeFactoryMethodPdx)();{code}
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)