diff options
author | Matthew J. Francis <mjay.francis@gmail.com> | 2015-07-29 15:22:54 +0800 |
---|---|---|
committer | Matthew Francis <mjay.francis@gmail.com> | 2015-07-30 05:55:32 +0000 |
commit | 2387c2a46e15995686d28dccdfd455012072b4cf (patch) | |
tree | a1470932d9ab5d1aea48576d3de8dcf4df80cc67 /pyuno/source/module/pyuno_impl.hxx | |
parent | 902255645328efde34ddf62227c8278e8dd61ff0 (diff) |
Give PyUNO structs/exceptions their own separate type
Change-Id: Ie4c42c623fae1cf39c2e4c643825c9655cd28daa
Reviewed-on: https://gerrit.libreoffice.org/17410
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Matthew Francis <mjay.francis@gmail.com>
Diffstat (limited to 'pyuno/source/module/pyuno_impl.hxx')
-rw-r--r-- | pyuno/source/module/pyuno_impl.hxx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/pyuno/source/module/pyuno_impl.hxx b/pyuno/source/module/pyuno_impl.hxx index 669386f090e0..727e4884e08d 100644 --- a/pyuno/source/module/pyuno_impl.hxx +++ b/pyuno/source/module/pyuno_impl.hxx @@ -204,11 +204,15 @@ typedef std::unordered_map typedef std::unordered_set< PyRef , PyRef::Hash , std::equal_to<PyRef> > ClassSet; int PyUNO_initType(); +int PyUNOStruct_initType(); PyRef PyUNO_new ( const com::sun::star::uno::Any & targetInterface, - const com::sun::star::uno::Reference<com::sun::star::lang::XSingleServiceFactory> & ssf, - const bool bCheckExisting ); + const com::sun::star::uno::Reference<com::sun::star::lang::XSingleServiceFactory> & ssf ); + +PyRef PyUNOStruct_new ( + const com::sun::star::uno::Any &targetInterface, + const com::sun::star::uno::Reference<com::sun::star::lang::XSingleServiceFactory> &ssf ); typedef struct { @@ -283,6 +287,7 @@ PyRef getBoolClass( const Runtime &); PyRef getCharClass( const Runtime &); PyRef getByteSequenceClass( const Runtime & ); PyRef getPyUnoClass(); +PyRef getPyUnoStructClass(); PyRef getClass( const OUString & name , const Runtime & runtime ); PyRef getAnyClass( const Runtime &); PyObject *PyUNO_invoke( PyObject *object, const char *name , PyObject *args ); |