Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Commit

Permalink
Remove all already deprecated things.
Browse files Browse the repository at this point in the history
  • Loading branch information
ponce committed Jan 20, 2016
1 parent db185b0 commit 95b648d
Show file tree
Hide file tree
Showing 25 changed files with 1 addition and 32 deletions.
3 changes: 1 addition & 2 deletions assimp/gfm/assimp/assimp.d
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,7 @@ final class Assimp
_libInitialized = false;
}
}
deprecated("Use .destroy instead") void close(){}


/// Returns: ASSIMP version string as returned by the dynamic library.
string getVersion()
{
Expand Down
1 change: 0 additions & 1 deletion assimp/gfm/assimp/scene.d
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ class AssimpScene
_scene = null;
}
}
deprecated("Use .destroy instead") void close(){}

/// Apply post-processing separately, to separate loading from post-processing.
/// Throws: AssimpException on error.
Expand Down
1 change: 0 additions & 1 deletion enet/gfm/enet/enet.d
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ final class ENet
_enetInitialized = false;
}
}
deprecated("Use .destroy instead") void close(){}
}

package
Expand Down
1 change: 0 additions & 1 deletion enet/gfm/enet/host.d
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,6 @@ class Host
_handle = null;
}
}
deprecated("Use .destroy instead") void close(){}

/**
* Initiates a connection to a foreign host
Expand Down
1 change: 0 additions & 1 deletion enet/gfm/enet/packet.d
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ final class Packet
_handle = null;
}
}
deprecated("Use .destroy instead") void close(){}

/**
* Resizes the ENetPacket.
Expand Down
1 change: 0 additions & 1 deletion freeimage/gfm/freeimage/fibitmap.d
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ final class FIBitmap
_bitmap = null;
}
}
deprecated("Use .destroy instead") void close(){}

/// Saves an image to a file.
/// Throws: FreeImage on error.
Expand Down
1 change: 0 additions & 1 deletion freeimage/gfm/freeimage/freeimage.d
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ final class FreeImage
_libInitialized = false;
}
}
deprecated("Use .destroy instead") void close(){}

const(char)[] getVersion()
{
Expand Down
3 changes: 0 additions & 3 deletions image/gfm/image/package.d
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ Image!RGBA loadImage(in void[] imageData)
return loaded;
}

deprecated("Use loadImage instead") alias stbiLoadImageAE = loadImage;


/// Loads two different images:
/// - the first the 2nd is interpreted as greyscale
/// and fetch in the alpha channel of the result.
Expand Down
2 changes: 0 additions & 2 deletions math/gfm/math/vector.d
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,6 @@ private


/// Element-wise minimum.
deprecated("use minByElem instead") alias min = minByElem;
@nogc Vector!(T, N) minByElem(T, int N)(const Vector!(T, N) a, const Vector!(T, N) b) pure nothrow
{
import std.algorithm: min;
Expand All @@ -575,7 +574,6 @@ deprecated("use minByElem instead") alias min = minByElem;
}

/// Element-wise maximum.
deprecated("use maxByElem instead") alias max = maxByElem;
@nogc Vector!(T, N) maxByElem(T, int N)(const Vector!(T, N) a, const Vector!(T, N) b) pure nothrow
{
import std.algorithm: max;
Expand Down
1 change: 0 additions & 1 deletion opengl/gfm/opengl/buffer.d
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ final class GLBuffer
_initialized = false;
}
}
deprecated("Use .destroy instead") void close(){}

/// Returns: Size of buffer in bytes.
@property size_t size() pure const nothrow
Expand Down
1 change: 0 additions & 1 deletion opengl/gfm/opengl/fbo.d
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ final class GLFBO
_initialized = false;
}
}
deprecated("Use .destroy instead") void close(){}

/// Binds this FBO.
/// Throws: $(D OpenGLException) on error.
Expand Down
1 change: 0 additions & 1 deletion opengl/gfm/opengl/matrixstack.d
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ final class MatrixStack(int R, T) if (R == 3 || R == 4)
_matrices = null;
}
}
deprecated("Use .destroy instead") void close(){}

/// Replacement for $(D glLoadIdentity).
void loadIdentity() pure nothrow
Expand Down
1 change: 0 additions & 1 deletion opengl/gfm/opengl/program.d
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,6 @@ final class GLProgram
_initialized = false;
}
}
deprecated("Use .destroy instead") void close(){}

/// Attaches OpenGL shaders to this program.
/// Throws: $(D OpenGLException) on error.
Expand Down
1 change: 0 additions & 1 deletion opengl/gfm/opengl/renderbuffer.d
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ final class GLRenderBuffer
glDeleteRenderbuffers(1, &_handle);
}
}
deprecated("Use .destroy instead") void close(){}

/// Binds this renderbuffer.
/// Throws: $(D OpenGLException) on error.
Expand Down
1 change: 0 additions & 1 deletion opengl/gfm/opengl/shader.d
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ final class GLShader
_initialized = false;
}
}
deprecated("Use .destroy instead") void close(){}

/// Load source code for this shader.
/// Throws: $(D OpenGLException) on error.
Expand Down
1 change: 0 additions & 1 deletion opengl/gfm/opengl/texture.d
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ class GLTexture
_initialized = false;
}
}
deprecated("Use .destroy instead") void close(){}

/// Use this texture, binding it to a texture unit.
/// Params:
Expand Down
2 changes: 0 additions & 2 deletions opengl/gfm/opengl/vao.d
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import derelict.opengl3.gl3;
import gfm.opengl.opengl;

/// OpenGL Vertex Array Object wrapper.
deprecated("Use GLVAO instead") alias VAO = GLVAO;
final class GLVAO
{
public
Expand All @@ -32,7 +31,6 @@ final class GLVAO
_initialized = false;
}
}
deprecated("Use .destroy instead") void close(){}

/// Uses this VAO.
/// Throws: $(D OpenGLException) on error.
Expand Down
2 changes: 0 additions & 2 deletions sdl2/gfm/sdl2/renderer.d
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ final class SDL2Renderer
}
}

deprecated("Use .destroy instead") void close(){}

/// Clear the current rendering target with the drawing color.
/// See_also: $(LINK http://wiki.libsdl.org/SDL_RenderClear)
/// Throws: $(D SDL2Exception) on error.
Expand Down
1 change: 0 additions & 1 deletion sdl2/gfm/sdl2/sdl.d
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ final class SDL2
_SDLInitialized = false;
}
}
deprecated("Use .destroy instead") void close(){}

/// Returns: true if a subsystem is initialized.
/// See_also: $(LINK http://wiki.libsdl.org/SDL_WasInit)
Expand Down
1 change: 0 additions & 1 deletion sdl2/gfm/sdl2/sdlimage.d
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ final class SDLImage
IMG_Quit();
}
}
deprecated("Use .destroy instead") void close(){}

/// Load an image.
/// Returns: A SDL surface with loaded content.
Expand Down
2 changes: 0 additions & 2 deletions sdl2/gfm/sdl2/sdlttf.d
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ final class SDLTTF
TTF_Quit();
}
}
deprecated("Use .destroy instead") void close(){}
}

private
Expand Down Expand Up @@ -101,7 +100,6 @@ final class SDLFont
_font = null;
}
}
deprecated("Use .destroy instead") void close(){}

/// Returns: Font style.
int style()
Expand Down
1 change: 0 additions & 1 deletion sdl2/gfm/sdl2/surface.d
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ final class SDL2Surface
_surface = null;
}
}
deprecated("Use .destroy instead") void close(){}

/// Converts the surface to another format.
/// See_also: $(LINK http://wiki.libsdl.org/SDL_ConvertSurface)
Expand Down
1 change: 0 additions & 1 deletion sdl2/gfm/sdl2/texture.d
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ final class SDL2Texture
_handle = null;
}
}
deprecated("Use .destroy instead") void close(){}

/// See_also: $(LINK http://wiki.libsdl.org/SDL_SetTextureBlendMode)
/// Throws: $(D SDL2Exception) on error.
Expand Down
1 change: 0 additions & 1 deletion sdl2/gfm/sdl2/timer.d
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ class SDL2Timer
_id = 0;
}
}
deprecated("Use .destroy instead") void close(){}
}

protected
Expand Down
1 change: 0 additions & 1 deletion sdl2/gfm/sdl2/window.d
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ final class SDL2Window
_window = null;
}
}
deprecated("Use .destroy instead") void close(){}

/// See_also: $(LINK http://wiki.libsdl.org/SDL_SetWindowFullscreen)
/// Throws: $(D SDL2Exception) on error.
Expand Down

0 comments on commit 95b648d

Please sign in to comment.