Hello
Przemysław Czerpak wrote:
>
>> What is the syntax to pass self as pointer to a function
>> from withing C++ class.
>
> 'this'
>
Damm.
It goesin front of eyes in numerous examples, and I...
Thank you.
Regards
Pritpal Bedi
--
View this message in context:
http://old.nabble.com/C%2B
On Mon, 18 Jan 2010, Pritpal Bedi wrote:
Hi,
> What is the syntax to pass self as pointer to a function
> from withing C++ class.
'this'
best regards,
Przemek
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://li
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 c