[fractal] API, util: Remove bkerror macro
- From: Daniel Garcia Moreno <danigm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [fractal] API, util: Remove bkerror macro
- Date: Thu, 2 Apr 2020 10:39:56 +0000 (UTC)
commit 659149a32dc69d5c417975ef404ee6c095bc434f
Author: Alejandro DomÃnguez <adomu net-c com>
Date: Tue Mar 10 12:31:40 2020 +0100
API, util: Remove bkerror macro
fractal-matrix-api/src/util.rs | 9 ---------
1 file changed, 9 deletions(-)
---
diff --git a/fractal-matrix-api/src/util.rs b/fractal-matrix-api/src/util.rs
index 6e5f060d..1ce07360 100644
--- a/fractal-matrix-api/src/util.rs
+++ b/fractal-matrix-api/src/util.rs
@@ -100,15 +100,6 @@ macro_rules! derror {
};
}
-#[macro_export]
-macro_rules! bkerror {
- ($result: ident, $tx: ident, $type: expr) => {
- if let Err(e) = $result {
- $tx.send($type(e)).expect_log("Connection closed");
- }
- };
-}
-
#[macro_export]
macro_rules! bkerror2 {
($result: expr, $tx: ident, $type: expr) => {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]