1*6da5f311SAndrew Rist /************************************************************** 2cdf0e10cSrcweir * 3*6da5f311SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*6da5f311SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*6da5f311SAndrew Rist * distributed with this work for additional information 6*6da5f311SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*6da5f311SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*6da5f311SAndrew Rist * "License"); you may not use this file except in compliance 9*6da5f311SAndrew Rist * with the License. You may obtain a copy of the License at 10*6da5f311SAndrew Rist * 11*6da5f311SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*6da5f311SAndrew Rist * 13*6da5f311SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*6da5f311SAndrew Rist * software distributed under the License is distributed on an 15*6da5f311SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*6da5f311SAndrew Rist * KIND, either express or implied. See the License for the 17*6da5f311SAndrew Rist * specific language governing permissions and limitations 18*6da5f311SAndrew Rist * under the License. 19*6da5f311SAndrew Rist * 20*6da5f311SAndrew Rist *************************************************************/ 21*6da5f311SAndrew Rist 22*6da5f311SAndrew Rist 23cdf0e10cSrcweir #ifndef _CPPUHELPER_IMPLBASE_EX_PRE_HXX_ 24cdf0e10cSrcweir #define _CPPUHELPER_IMPLBASE_EX_PRE_HXX_ 25cdf0e10cSrcweir 26cdf0e10cSrcweir /** @internal */ 27cdf0e10cSrcweir #define __IFC_EX_TYPE_INIT_NAME( class_cast, ifc_name ) \ 28cdf0e10cSrcweir { { ifc_name::static_type }, ((sal_IntPtr)(ifc_name *) class_cast 16) - 16 } 29cdf0e10cSrcweir /** @internal */ 30cdf0e10cSrcweir #define __IFC_EX_TYPE_INIT( class_cast, N ) __IFC_EX_TYPE_INIT_NAME( class_cast, Ifc##N ) 31cdf0e10cSrcweir 32cdf0e10cSrcweir #endif 33