file?
Kind Regards
Benjamin Thaut
Benjamin Thaut
the dbghelp.dll, which comes with the
windows sdk, or visual studio, it will also correctlry resolve cv
smybols. I have windows 7 64 bit service pack 1 with visual studio 2010
installed and the D stacktracking correctly resolves cv symbols for me.
Kind Regards
Benjamin Thaut
inside
sc.ini would be really great.
Kind Regards
Benjamin Thaut
ill allocate an block of
memory which has the size of Vertex, then it will fill the date into
that block of memory, and then memcpy it to your buffer array.
You could try working around this by doing:
buffer[elements++].__ctor(x, y, z, nx, ny, nz, u, v, u_biome, v_biome);
Kind Regards
Benjamin Thaut
Don't know how to initialize an object of type "
~ T.stringof ~ " with arguments " ~ args.stringof ~
"\nAvailable ctors:\n" ~ ListAvailableCtors!T() );
}
return result;
}
}
Kind Regards
Benjamin Thaut
Do the getMembers() and offTi() functions of TypeInfo_Class already
work? If yes who generates the information for them, or do I have to do
that manually with a template? Are there any examples on this? I
couldn't find anything in the documentation.
Kind Regards
Benjamin Thaut
time:
auto func = &object.func;
This will create a delegate with the this pointer and the function
pointer. If you want to build it manually you can do that also:
alias void delegate() func_t;
func_t func;
func.funcptr = GetFunctionPointer();
func.ptr = object;
Kind Regards
Benjamin Thaut
y for reading the whole format.
Kind Regards
Benjamin Thaut
Am 08.07.2012 16:32, schrieb Namespace:
On Sunday, 8 July 2012 at 13:42:39 UTC, Benjamin Thaut wrote:
Am 08.07.2012 12:03, schrieb Namespace:
Has anyone experience with reading of .Ogg or .Mp3 files and can give me
a briefing?
Or does anyone know if sndfile.h was ported to D?
I'm
Am 08.07.2012 12:03, schrieb Namespace:
Has anyone experience with reading of .Ogg or .Mp3 files and can give me
a briefing?
Or does anyone know if sndfile.h was ported to D?
I'm using libvorbis to read and OpenAL to playback .ogg files. The
functions you need to import are really minimal. The
to T (your first case)
However T will not implicitly convert to NotNull!T (as far as I know
such a implict conversion is not possible in D, i suggested a @implicit
modifier for a constructor to allow such implicit type conversions, but
it was rejected)
Kind Regards
Benjamin Thaut
_D6thBase6format12__ModuleInfoZ
All the other functions I use from the dll link fine though.
When running the dll through dumpbin from visual studio the requested
module is not listed in the exported symbols list of the dll.
What did I do wrong?
Kind Regards
Benjamin Thaut
Am 26.04.2011 22:41, schrieb Philippe Sigaud:
On Tue, Apr 26, 2011 at 22:06, Benjamin Thaut wrote:
The Problem with that version is, that the code that is generated looks like
void main(string[] args){
auto test = new Foo!(int,float,double,short,byte)();
test.print
Am 26.04.2011 21:55, schrieb Philippe Sigaud:
On Tue, Apr 26, 2011 at 18:41, Benjamin Thaut wrote:
Thanks, but that is not connected to my question at all,
I want to implement the echo method so that the type is passed as a template
argument, and not as a function argument. While that is
template argument, and not as a function argument. While that is
happening I still want to be able to overload the function.
Is this possible in D 2?
--
Kind Regards
Benjamin Thaut
e2Type!(short)());
}
I'm wondering if there is any way in D 2 to not use Type2Type so that
the calls to echo would look like:
test.echo!(double)();
test.echo!(short)();
The solution does not have to use inheritance, any idea?
--
Kind Regards
Benjamin Thaut
mbinations but couldn't find one that does
work.
So what is the correct syntax for a delegate to a shared member function?
--
Kind Regards
Benjamin Thaut
Hello,
is there any way to get the full identifier of a type. E.g.
module.submodule.typename
instead of
classname
I tried typename.stringof and __traits(identifier,typename) so far.
--
Kind Regards
Benjamin Thaut
ut what I did wrong I would be very glad. If
I did not do anything wrong, I don't quite understand whats the exact
problem because the code inside atomic.d looks good (at least at my
level of understanding)
--
Kind Regards
Benjamin Thaut
Am 13.10.2010 15:50, schrieb BCS:
Hello Benjamin,
Am 08.10.2010 11:13, schrieb Lars T. Kyllingstad:
On Fri, 08 Oct 2010 09:33:22 +0200, Benjamin Thaut wrote:
Hi, I'm writing a vec4 math struct and I have a method of which the
return value has to be a lvalue so I wonder which is the co
I want to have a mutable reference to a const object. So that I can
reasign the reference but can not modifiy the object. Is this possible
in D 2.0? I found tailconst in the const FAQ but as it is not
implemented in D 2.0 I'm clueless how to realize this.
--
Kind Regards
Benjamin Thaut
Am 08.10.2010 11:13, schrieb Lars T. Kyllingstad:
On Fri, 08 Oct 2010 09:33:22 +0200, Benjamin Thaut wrote:
Hi, I'm writing a vec4 math struct and I have a method of which the
return value has to be a lvalue so I wonder which is the correct way to
do this:
vec4 Normalize()
some other way?
--
Kind Regards
Benjamin Thaut
largestruct bar) { ... }
2. function foo(ref const(largestruct) bar) { ... }
3. something else
Kind Regards
Benjamin Thaut
Thanks, that fixes it
Kind Regards
Benjamin Thaut
please show me my mistake.
Kind Regards
Benjamin Thaut
201 - 227 of 227 matches
Mail list logo