Hello Everybody

I am in the middle of overhaul of Events and Slots protocols
which is aimed at to get rid of the GC pointer reference counting.

I have changed the parameters how Events and Slots are calling
.prg level code blocks. Current implementation is dispatching codeblock 
as  ( prg equivalent )
      
     Eval( EventOrSlotBlock, pObject, ... )

The first argument is pointer to the object calling the codeblock,
and this is a GC collectible pointer. And hence the current situation
renders it GPF prone.

I have changed this arument to numeric zero instead of pointer to th object
just to retain compatibility with th existing code where codeblocks are 
expecting first parameter as "something" which in reality has not been 
used either of the implementation, viz., hbXBP and hbIDE.

Changing argument from pointer to integer is working fine.

But I am convinced that avoiding this parameter is best for the long run.
First for the simplicity of the prg code and also the speed.

I know many of you have based your libraries on the above foundation,
and this change will require you to look deeply into your code, though
I think it will be fairly easy, so I propose to eliminate it altogether.

Waiting for the responses for next few hours and then I will decide 
in its favour.





-----
                 enjoy hbIDEing...
                    Pritpal Bedi 
_a_student_of_software_analysis_&_design_
-- 
View this message in context: 
http://n2.nabble.com/hbQT-Events-and-Slots-Parameters-Change-tp4487197p4487197.html
Sent from the harbour-devel mailing list archive at Nabble.com.
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to