Hi All

What is the syntax to pass self as pointer to a function
from withing C++ class.

void some_c_function( PHB_ITEM a, SomeType * some )
{
}

MyClass::MyClass()
{
   return some_c_function( hb_param( 1, HB_IT_ANY ), ( MyClass * ) MyClass
);
}

Regards
Pritpal Bedi


-- 
View this message in context: 
http://old.nabble.com/C%2B%2B---How-to-pass-self-as-an-argument-to-a-function-from-C%2B%2B-class-tp27208412p27208412.html
Sent from the Harbour - Dev 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