When any2PyObject is given an interface which is actually an adapter for a Python object, it now returns the original Python object instead of a new wrapper for the object. This means that calling methods on the returned object will be faster because they won’t involve UNO bridging. It also means that Python implementations of UNO interfaces can detect when they are given Python objects as a parameter and take advantage of any internal private data attached to the object. Change-Id: Ie13d0612f48e70973bd523e68710ec33a7875a16 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/207507 Tested-by: Jenkins Reviewed-by: Neil Roberts <nroberts@libreoffice.org>
20 lines
608 B
Makefile
20 lines
608 B
Makefile
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t; fill-column: 100 -*-
|
|
#
|
|
# This file is part of the LibreOffice project.
|
|
#
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
#
|
|
|
|
$(eval $(call gb_PythonTest_PythonTest,pyuno_pytests_embindtest))
|
|
|
|
$(eval $(call gb_PythonTest_add_modules,pyuno_pytests_embindtest,$(SRCDIR)/pyuno/qa/pytests, \
|
|
embindtest \
|
|
passthrough \
|
|
serviceconstructors \
|
|
singleton \
|
|
))
|
|
|
|
# vim: set noet sw=4 ts=4:
|