diff options
author | Oliver Bolte <obo@openoffice.org> | 2004-03-19 12:24:41 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2004-03-19 12:24:41 +0000 |
commit | 35c294ff1a218e71e3ce40d6f6c8b369d6103229 (patch) | |
tree | 271c4bb91b4ee3137e996f1ed4c95a80ff3499ce /bridges | |
parent | 94580d1fd03523b7b2a9d67628981d7600c1598a (diff) |
INTEGRATION: CWS sb15 (1.2.4); FILE MERGED
2004/02/11 16:08:35 sb 1.2.4.1: #i24561# Added VtableFactory::flushCode.
Diffstat (limited to 'bridges')
-rw-r--r-- | bridges/inc/bridges/cpp_uno/shared/vtablefactory.hxx | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/bridges/inc/bridges/cpp_uno/shared/vtablefactory.hxx b/bridges/inc/bridges/cpp_uno/shared/vtablefactory.hxx index 91a4081aea91..219fa40965dd 100644 --- a/bridges/inc/bridges/cpp_uno/shared/vtablefactory.hxx +++ b/bridges/inc/bridges/cpp_uno/shared/vtablefactory.hxx @@ -2,9 +2,9 @@ * * $RCSfile: vtablefactory.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: hr $ $Date: 2004-02-03 12:32:53 $ + * last change: $Author: obo $ $Date: 2004-03-19 13:24:41 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -162,6 +162,17 @@ private: typelib_InterfaceTypeDescription const * type, sal_Int32 functionOffset, sal_Int32 functionCount, sal_Int32 vtableOffset); + // This function is not defined in the generic part, but instead has to be + // defined individually for each CPP--UNO bridge: + /** Flush all the generated code snippets of a vtable, on platforms that + require it. + + @param begin points to the start of the code snippet area + @param end points behind the end of the code snippet area + */ + static void flushCode( + unsigned char const * begin, unsigned char const * end); + typedef std::hash_map< rtl::OUString, Vtables, rtl::OUStringHash > Map; osl::Mutex m_mutex; |