[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
- [GNUnet-SVN] [gnunet-nim] 17/61: Merge branch 'master' of ssh://gnunet.org/gnunet-nim, (continued)
- [GNUnet-SVN] [gnunet-nim] 17/61: Merge branch 'master' of ssh://gnunet.org/gnunet-nim, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 16/61: disconnect after connecting (shuts down the application), gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 12/61: fix segfaults using heap allocation, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 08/61: Merge branch 'master' of ssh://gnunet.org/gnunet-nim, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 18/61: make the cleanup proc the finalizer (no explicit call necessary anymore), gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 35/61: use nicer new syntax, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 31/61: use ref object where we only use heap allocation, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 29/61: fix crashes, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 38/61: comment: explain why we're reading from stdin in a nasty way, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 28/61: newline behaviour like in gnunet-cadet, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 32/61: Revert "use ref object where we only use heap allocation",
gnunet <=
- [GNUnet-SVN] [gnunet-nim] 26/61: first try sending messages from stdin, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 40/61: fix bug (application hangs when a peer disconnects); fixes & simplifications, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 34/61: add shutdown logic (allows GNUnet to shutdown on signals), gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 46/61: groupchat.nim: fix typo in echo message, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 25/61: fix sending messages, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 43/61: Merge branch 'master' of ssh://gnunet.org/gnunet-nim, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 21/61: add GNUnet configs and scripts for testing, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 56/61: gnunet_nim.nim: fix import paths to point to parent dir, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 37/61: disconnect from the cadet service when CadetHandle is destroyed, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 53/61: restructure groupchat application, gnunet, 2019/04/13