On 2017-08-11 13:00, Mr. Pib wrote:
How can one include external files such as glade, icons, images that are
static in nature in to the binary but not require extraction on program
run to be used?
gtk's builder doesn't seem to take an in memory representation of glade
files and building a pixbuf
On 2016-06-29 14:39, Hiemlick Hiemlicker wrote:
Yes, the C standard requires malloc to be aligned to the platform size(4
for 32bit, 8 for 64-bit).
just what i was hopping for. thanks!
is there an alignment guarantee for core.stdc.stdlib.malloc?
more specifically, using DMD and compiling for 32bit on windows, can i
assume proper alignment for int or uint variables?
background: i like to re-use a (ubyte) buffer, sometimes it will store
only bytes, sometimes it shall store ui
On 2016-06-20 06:33, moe wrote:
I see where I went wrong. I thought that it's possible to only use the
.lib file without the source code of dbar. Having access to the source
makes what I am trying somewhat pointless. Is it otherwise possible to
provide some functionality without having to give aw
string cssPath = "test.css";
CssProvider provider = new CssProvider();
provider.loadFromPath(cssPath);
unfortunately i don't know anything about yr specific problem.
but i just wanted to mention (in case you are not aware of it) that the
CSS can be embedded into the
On 2016-05-20 07:49, Era Scarecrow wrote:
Experimented and quickly got what looks like good clean results. Took
your code, ripped out what I didn't want and added in what I did. Simple!
https://dpaste.dzfl.pl/6952fdf463b66
i am most curious about your solution.
why does printAll() has a s
On 2016-04-18 14:12, Tofu Ninja wrote:
Also is there a way to have a named substructure, not a nested structure
but something to just add an additional name, maybe something like
struct a{
struct{
int x;
int y;
int z;
} b;
}
not sure what you mean by "named
On 2015-02-26 12:07, Steven Schveighoffer wrote:
On 2/26/15 11:57 AM, captaindet wrote:
On 2015-02-26 10:07, Steven Schveighoffer wrote:
Static data I believe is always scanned conservatively because no
type information is stored for it ever, even on allocation (i.e.
program startup).
ouh, th
On 2015-02-26 10:07, Steven Schveighoffer wrote:
Static data I believe is always scanned conservatively because no
type information is stored for it ever, even on allocation (i.e.
program startup).
ouh, the confusion goes on... are you saying that
{
// will be all scanned by GC for
/
On 2015-02-25 20:45, H. S. Teoh via Digitalmars-d-learn wrote:
On Wed, Feb 25, 2015 at 08:20:37PM -0600, captaindet via Digitalmars-d-learn
wrote:
[...]
struct Stuff2Do{
static ubyte[1024*1024] buffer4speed = void; // even if untyped at this
point
// more
}
[...]
Tangential note
On 2015-02-25 19:24, Adam D. Ruppe wrote:
does this warning only apply to dynamic void[] arrays but not to static
void[CTconstant] arrays?
Both of those will be scanned for pointers.
thanks, adam,
so i should always use
struct Stuff2Do{
static ubyte[1024*1024] buffer4speed = void; // e
if i understand correctly, static arrays are exempt from GC scanning for memory
pointers
http://dlang.org/garbage.html : "Pointers in D can be broadly divided into two categories: Those that point to garbage collected memory, and those that do not. Examples of the latter are pointers created by
On 2014-06-12 17:27, Rene Zwanenburg wrote:
On Thursday, 12 June 2014 at 22:14:23 UTC, captaindet wrote:
On 2014-06-12 14:20, captaindet wrote:
before i file it, i'd like to know if it is still around in the
latest DMD version and/or if other platforms and 64bit code is
affected as well.
tha
On 2014-06-12 14:20, captaindet wrote:
before i file it, i'd like to know if it is still around in the
latest DMD version and/or if other platforms and 64bit code is
affected as well.
thanks andrew, philippe,
i had the suspicion that it is a windows only problem anyway because the only
thing
hi,
i just run into a (wrong code gen?) bug that manifests itself only under
certain conditions.
before i file it, i'd like to know if it is still around in the latest DMD
version and/or if other platforms and 64bit code is affected as well.
bug description:
std.algorithm.countUntil fails to
On 2014-06-02 09:57, Steven Schveighoffer wrote:
On Mon, 02 Jun 2014 10:37:07 -0400, captaindet <2k...@gmx.net> wrote:
On 2014-06-02 08:03, MrSmith wrote:
On Monday, 2 June 2014 at 06:56:54 UTC, captaindet wrote:
hi,
i stumbled upon something weird - it looks like a bug to me but
maybe it is
On 2014-06-02 08:08, "Marc Schütz" " wrote:
On Monday, 2 June 2014 at 06:56:54 UTC, captaindet wrote:
hi,
i stumbled upon something weird - it looks like a bug to me but
maybe it is a "feature" that is unclear to me.
so i know i can declare function and delegate pointers at module level.
for f
On 2014-06-02 08:08, "Marc Schütz" " wrote:
On Monday, 2 June 2014 at 06:56:54 UTC, captaindet wrote:
hi,
i stumbled upon something weird - it looks like a bug to me but maybe it is a
"feature" that is unclear to me.
so i know i can declare function and delegate pointers at module level.
for
On 2014-06-02 08:03, MrSmith wrote:
On Monday, 2 June 2014 at 06:56:54 UTC, captaindet wrote:
hi,
i stumbled upon something weird - it looks like a bug to me but maybe it is a
"feature" that is unclear to me.
so i know i can declare function and delegate pointers at module level.
for function
On 2014-06-02 08:08, "Marc Schütz" " wrote:
On Monday, 2 June 2014 at 06:56:54 UTC, captaindet wrote:
hi,
i stumbled upon something weird - it looks like a bug to me but
maybe it is a "feature" that is unclear to me.
so i know i can declare function and delegate pointers at module level.
for f
hi,
i stumbled upon something weird - it looks like a bug to me but maybe it is a
"feature" that is unclear to me.
so i know i can declare function and delegate pointers at module level.
for function pointers, i can initialize with a lambda.
BUT for delegates i get an error - see below
i found
21 matches
Mail list logo