[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet-nim] branch master updated: Revert "use ref object
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet-nim] branch master updated: Revert "use ref object where we only use heap allocation" |
Date: |
Sat, 04 Aug 2018 23:47:23 +0200 |
This is an automated email from the git hooks/post-receive script.
lurchi pushed a commit to branch master
in repository gnunet-nim.
The following commit(s) were added to refs/heads/master by this push:
new 0bb901b Revert "use ref object where we only use heap allocation"
0bb901b is described below
commit 0bb901b73ddf1a9bc2a5c0620dedabd95812678f
Author: lurchi <address@hidden>
AuthorDate: Sat Aug 4 23:46:57 2018 +0200
Revert "use ref object where we only use heap allocation"
This reverts commit da708b639b0f74143b8181e27a8be4ed25fd3fd5.
---
asynccadet.nim | 4 ++--
gnunet_application.nim | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/asynccadet.nim b/asynccadet.nim
index 70fe183..8a7c8b3 100644
--- a/asynccadet.nim
+++ b/asynccadet.nim
@@ -10,12 +10,12 @@ type
handle: ptr GNUNET_CADET_Handle
openPorts: seq[ref CadetPort]
- CadetPort* = ref object
+ CadetPort* = object
handle: ptr GNUNET_CADET_Port
channels*: FutureStream[ref CadetChannel]
activeChannels: seq[ref CadetChannel]
- CadetChannel* = ref object
+ CadetChannel* = object
handle: ptr GNUNET_CADET_Channel
peer: GNUNET_PeerIdentity
messages*: FutureStream[string]
diff --git a/gnunet_application.nim b/gnunet_application.nim
index a57c961..bcad17b 100644
--- a/gnunet_application.nim
+++ b/gnunet_application.nim
@@ -5,7 +5,7 @@ import gnunet_configuration_lib
import asyncdispatch, tables, logging
type
- GnunetApplication* = ref object
+ GnunetApplication* = object
timeoutUs: uint64
tasks: Table[ptr GNUNET_SCHEDULER_Task, ptr GNUNET_SCHEDULER_FdInfo]
schedulerDriver: GNUNET_SCHEDULER_Driver
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnunet-nim] branch master updated: Revert "use ref object where we only use heap allocation",
gnunet <=