Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - bioinfornatics

Pages: [1]
1
D / DSFML and D1
« on: December 08, 2010, 09:19:22 am »
Example of use
Code: [Select]
// D import file generated from 'derelict/util/compat.d'
module derelict.util.compat;
version (D_Version2){
    mixin("alias const(char)* CCPTR;");
    mixin("alias const(wchar)* CWCPTR;");
    mixin("alias const(dchar)* CDCPTR;");
    mixin("alias const(ubyte)* CUBPTR;");
    mixin("alias const(void)* CVPTR;");
    mixin("alias immutable(char)* ICPTR;");
}
else{
    alias char* CCPTR;
    alias wchar* CWCPTR;
    alias dchar* CDCPTR;
    alias ubyte* CUBPTR;
    alias void* CVPTR;
    alias char* ICPTR;
}
version (Tango){
    private
    {
        import tango.stdc.string;
        import tango.stdc.stringz;
        import tango.text.Util;
        import tango.core.Version;
    }
    version (PhobosCompatibility){
    }
    else{
        alias char[] string;
        alias wchar[] wstring;
        alias dchar[] dstring;
    }
}
else{
    private {
        version (D_Version2){
            import std.conv;
        }
        import std.string;
        import std.c.string;
    }
}
template gsharedString(){
    version (D_Version2){
        const gsharedString = "__gshared: ";
    }
    else{
        const gsharedString = "";
    }
}

2
D / DSFML and D1
« on: November 12, 2010, 12:04:40 am »
please trass3r can you put D1 in sfml2? you can use version keyword see: http://www.digitalmars.com/d/2.0/version.html

thanks

3
D / DSFML and makefile
« on: November 04, 2010, 05:30:43 pm »
Trass3r are you around ?

4
D / DSFML and makefile
« on: November 02, 2010, 06:16:27 pm »
deer sir,
 For build DSFML i have start a makefile system here

The project cmake do not support D programming
The project cmakeD support only dmd et gdc and is not a cmake project
The project dsss is die snce long time ago
with makefile system owe couls use easily: dmd ldc gdc

best regards

Pages: [1]