Re: assembly functions ans c++ classes
- From: "T.M. Sommers" <tms@xxxxxx>
- Date: Tue, 28 Jun 2005 18:08:47 GMT
asetofsymbols@xxxxxxxxx wrote:
All the classes uint, sint, fint use the assembly functions f0, f1, ... fn
Make sure they are declared inside an extern "C" block.
and I would like that these functions are accessible only from uint, sint, fint classes.
Can't be done as stated.
How can I define these last 2 classes for to work better in c++?
Derive them from a common base class. Have f0, etc., be protected members of that class. Implement f0, etc., using inline assembly.
-- Thomas M. Sommers -- tms@xxxxxx -- AB2SB
.
- References:
- assembly functions ans c++ classes
- From: asetofsymbols
- assembly functions ans c++ classes
- Prev by Date: Re: Blueflops ate my X
- Next by Date: Re: Click...
- Previous by thread: assembly functions ans c++ classes
- Next by thread: Re: assembly functions ans c++ classes
- Index(es):