Changeset 54646


Ignore:
Timestamp:
Jul 4, 2009, 4:18:56 PM (9 years ago)
Author:
Haoyu Bai
Message:

.ob_type -> Py_TYPE() usage change

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox-branches/bhy/py3k/boost/python/lvalue_from_pytype.hpp

    r43799 r54646  
    6464    static MemberType& execute(InstanceType& c)
    6565    {
    66         (void)c.ob_type; // static assertion
     66        (void)Py_TYPE(&c); // static assertion
    6767        return c.*member;
    6868    }
     
    7676    static InstanceType& execute(InstanceType& c)
    7777    {
    78         (void)c.ob_type; // static assertion
     78        (void)Py_TYPE(&c); // static assertion
    7979        return c;
    8080    }
Note: See TracChangeset for help on using the changeset viewer.