The language is composed of types, literals and statements. Types are a definition of what a literal can be.
- Number
- String
- Function body with prototype
- Reference to variable
- Initialized template
- Comment
Performing "debug" build using dmd for x86. | |
std-experimental-xml ~master: target for configuration "library" is up to date. | |
ogl_gen ~master: target for configuration "application" is up to date. | |
To force a rebuild of up-to-date targets, run again with --force. | |
Running .\ogl_gen.exe | |
Families: | |
- man4/glActiveShaderProgram.xml[glActiveShaderProgram] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: |
/** | |
* This is a set of OpenGL bindings. | |
* | |
* Generated by ./ogl_gen .... | |
* Do not modify. Regenerate if changes are required. | |
*/ | |
module opengl.bindings; | |
import std.traits : Unqual; | |
/// |
import std.stdio : writeln; | |
import std.file : write; | |
void main() { | |
import std.file : chdir, tempDir, remove, rmdirRecurse, isDir, mkdirRecurse, exists; | |
import std.process : thisProcessID; | |
import std.path : buildPath; | |
import std.conv : text; | |
chdir("testbed"); |
/// From http://www.delorie.com/djgpp/doc/exe/ and winnt.h | |
module definitions.msdos; | |
import std.experimental.allocator : IAllocator, make, makeArray, dispose; | |
/// | |
final class MSDOS_Header { | |
private { | |
IAllocator allocator; | |
} | |
module foo; | |
class Foo { | |
int bar(); | |
} |
/// | |
module engine.math.vector; | |
import std.traits : isBasicType, isFloatingPoint; | |
struct Vector(Type, size_t Dimension) | |
if ((isBasicType!Type || isFloatingPoint!Type) && Dimension > 0) { | |
nothrow: | |
private { | |
import simd = core.simd; |
From 5d08d297b12a2d4374a22e1515f72e68b6f990ba Mon Sep 17 00:00:00 2001 | |
From: rikki cattermole <[email protected]> | |
Date: Mon, 18 Dec 2017 00:40:09 +1300 | |
Subject: [PATCH] Windows & X11 support for drag&drop | |
--- | |
examples/window/main.d | 25 +++- | |
gui/dplug/gui/graphics.d | 10 ++ | |
window/dplug/window/win32window.d | 59 ++++++++- | |
window/dplug/window/window.d | 6 + |
struct MyRange<Type> { | |
@property { | |
Type delegate() front; | |
bool delegate() empty; | |
} | |
void delegate() popFront; | |
@implicit static auto opCall(T)(T from) { | |
MyRange!(Type: T.Type) ret; |