gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet-nim] 32/61: Revert "use ref object where we only us


From: gnunet
Subject: [GNUnet-SVN] [gnunet-nim] 32/61: Revert "use ref object where we only use heap allocation"
Date: Sat, 13 Apr 2019 13:36:07 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnunet-nim.

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]