comp.lang.ada
 help / color / mirror / Atom feed
From: Felix Krause <contact@flyx.org>
Subject: Re: Ada aunit examples
Date: Sat, 12 May 2018 18:36:47 +0200
Date: 2018-05-12T18:36:47+02:00	[thread overview]
Message-ID: <2018051218364783124-contact@flyx.org> (raw)
In-Reply-To: 107d577c-e872-4259-84c4-e68a63ce6b0e@googlegroups.com

On 2018-05-08 17:09:28 +0000, Michael Hardeman said:
> 
> Hey Felix, I'm in the process of restructuring my project to add AUnit, 
> based on your example, and I'm confused by this line.
> I in your code, what does this line do?
> 
> https://github.com/yaml/AdaYaml/blob/develop/test/src/yaml-lexer-buffering_test.adb#L28 
> 

Nothing to worry about. AdaYaml uses reference-counted strings which 
are allocated from a custom memory pool (which adds the reference 
count), and this line initialises that pool.

-- 
Regards,
Felix Krause

  reply	other threads:[~2018-05-12 16:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-27  4:57 Ada aunit examples Michael Hardeman
2018-04-27  9:03 ` Felix Krause
2018-04-27 16:28   ` Michael Hardeman
2018-05-08 17:09   ` Michael Hardeman
2018-05-12 16:36     ` Felix Krause [this message]
2018-07-05 19:03       ` Michael Hardeman
2018-05-10 20:39 ` Stephen Leake
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox