Per,
This seems fine to me.
-- johnS
Bojsen, Per wrote:
> Hi,
> 
> it occurred to me that the issue of a NULL binding argument also applies
> to the SceMiMessageInPort::ReplaceBinding() method.
> 
> Hence, I propose the following additional changes to Section 5.3.6.2
> "Replacing port binding":
> 
>   Change the declaration of the SceMiMessageInPortProxy::ReplaceBinding()
>   method as follows:
> 
>     void
>     SceMiMessageInPortProxy::ReplaceBinding(
>         const SceMiMessageInPortBinding *binding = NULL,
>         SceMiEC *ec = NULL);
> 
>   [The change is to add NULL as a default value of the first
>    argument, binding].
> 
>   [As part of the description of the binding argument, add the
>    following:]
> 
>   If the binding argument is given as a NULL, the SCE-MI
>   assumes that each of the Context, IsReady(), and Close() data
>   members have NULL values.
> 
>   [Add this NOTE for further clarification:]
> 
>   NOTE---The ReplaceBinding() call below
> 
>     SceMiMessageInPortProxy *inProxy;
> 
>     // ...
> 
>     inProxy->ReplaceBinding();
> 
>   is equivalent to this code
> 
>     SceMiMessageInPortProxy *inProxy;
> 
>     // ...
> 
>     SceMiMessageInPortBinding inBinding;
> 
>     inBinding.Context = NULL;
>     inBinding.IsReady = NULL;
>     inBinding.Close = NULL;
> 
>     inProxy->ReplaceBinding(&inBinding);
> 
> Note, the stuff in [brackets] are not part of the proposal.
> 
> Thanks,
> Per
> 
-- This email may contain material that is confidential, privileged and/or attorney work product for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission /\ is strictly prohibited. If you are /\ | \ not the intended recipient please | \ / | contact the sender and delete / \ \ all copies. /\_/ K2 \_ \_ ______________________________/\/ \ \ John Stickley \ \ \ Principal Engineer \ \________________ Mentor Graphics - MED \_ 17 E. Cedar Place \ john_stickley@mentor.com Ramsey, NJ 07446 \ Phone: (201) 818-2585 ________________________________________________________________Received on Wed Mar 17 08:23:25 2004
This archive was generated by hypermail 2.1.8 : Wed Mar 17 2004 - 08:23:26 PST