You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by cx...@apache.org on 2018/06/19 09:41:14 UTC
[27/50] [abbrv] incubator-weex git commit: [WEEX-458][core] remove
coremanager setxxx returntype
[WEEX-458][core] remove coremanager setxxx returntype
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/eeb91706
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/eeb91706
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/eeb91706
Branch: refs/heads/release
Commit: eeb91706d709316493f330906d92c151d88d9371
Parents: 5cb82d5
Author: zhongcang <qh...@gmail.com>
Authored: Wed Jun 13 17:48:39 2018 +0800
Committer: zhongcang <qh...@gmail.com>
Committed: Wed Jun 13 17:48:39 2018 +0800
----------------------------------------------------------------------
weex_core/Source/core/manager/weex_core_manager.cpp | 4 ++--
weex_core/Source/core/manager/weex_core_manager.h | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/eeb91706/weex_core/Source/core/manager/weex_core_manager.cpp
----------------------------------------------------------------------
diff --git a/weex_core/Source/core/manager/weex_core_manager.cpp b/weex_core/Source/core/manager/weex_core_manager.cpp
index 9038ea1..fb2151c 100644
--- a/weex_core/Source/core/manager/weex_core_manager.cpp
+++ b/weex_core/Source/core/manager/weex_core_manager.cpp
@@ -23,7 +23,7 @@ namespace WeexCore {
WeexCoreManager *WeexCoreManager::m_pInstance = nullptr;
- WeexCoreManager *WeexCoreManager::setPlatformBridge(Bridge *pBridge) {
+ void WeexCoreManager::setPlatformBridge(Bridge *pBridge) {
this->platformBridge = pBridge;
}
@@ -31,7 +31,7 @@ namespace WeexCore {
return this->platformBridge;
}
- WeexCoreManager *WeexCoreManager::setJSBridge(JSBridge *jsBridge) {
+ void WeexCoreManager::setJSBridge(JSBridge *jsBridge) {
this->jsBridge = jsBridge;
}
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/eeb91706/weex_core/Source/core/manager/weex_core_manager.h
----------------------------------------------------------------------
diff --git a/weex_core/Source/core/manager/weex_core_manager.h b/weex_core/Source/core/manager/weex_core_manager.h
index 57f7edc..d207e30 100644
--- a/weex_core/Source/core/manager/weex_core_manager.h
+++ b/weex_core/Source/core/manager/weex_core_manager.h
@@ -64,11 +64,11 @@ namespace WeexCore {
Bridge *getPlatformBridge();
- WeexCoreManager *setPlatformBridge(Bridge *pBridge);
+ void setPlatformBridge(Bridge *pBridge);
JSBridge* getJSBridge();
- WeexCoreManager *setJSBridge(JSBridge *jsBridge);
+ void setJSBridge(JSBridge *jsBridge);
void SetMeasureFunctionAdapter(MeasureFunctionAdapter *measureFunctionAdapter);