Re: Wrapping internal class's methods



2013-08-02 14:05, Marcin Kolny skrev:
Hi,
I'm trying to wrap static method of internal class:

class C1
{
private:
    class Internal
    {
        _WRAP_METHOD(static void f(), c_f)
    };
public:
    // other C1's methods
};

Unfortunatelly, it doesn't work. I think, it's due internal class. Is it possible to wrap method of internal classes?

_WRAP_METHOD must be preceded by a _CLASS_* macro (e.g. _CLASS_BOXEDTYPE). You can have a _CLASS_* macro on only one level. I think it will work if only class Internal have a _CLASS_* macro, and class C1 does not contain any _CLASS_* or _WRAP_* macros.

Kjell



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]