object.cxx (e8c8fa4b) | object.cxx (c1e8cc3a) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 135 unchanged lines hidden (view full) --- 144 break; 145 146 pClass = pClass->m_pNextClass; 147 } 148 149 return (pClass); 150} 151 | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 135 unchanged lines hidden (view full) --- 144 break; 145 146 pClass = pClass->m_pNextClass; 147 } 148 149 return (pClass); 150} 151 |
152VOS_CLASSINIT::VOS_CLASSINIT(register OClassInfo* pNewClass) | 152VOS_CLASSINIT::VOS_CLASSINIT(OClassInfo* pNewClass) |
153{ 154 VOS_ASSERT(pNewClass != NULL); 155 156 OClassInfo* pClassRoot = (OClassInfo*)&VOS_CLASSINFO(VOS_NAMESPACE(OObject, vos)); 157 158 pNewClass->m_pNextClass = pClassRoot->m_pNextClass; 159 160 pClassRoot->m_pNextClass = pNewClass; 161} | 153{ 154 VOS_ASSERT(pNewClass != NULL); 155 156 OClassInfo* pClassRoot = (OClassInfo*)&VOS_CLASSINFO(VOS_NAMESPACE(OObject, vos)); 157 158 pNewClass->m_pNextClass = pClassRoot->m_pNextClass; 159 160 pClassRoot->m_pNextClass = pNewClass; 161} |