From 77626aa17202568aeff7039a625aa0d0176e5d2e Mon Sep 17 00:00:00 2001 From: groogy Date: Tue, 2 Nov 2010 16:15:14 +0000 Subject: [PATCH] Forgot to place message on previous. Added the entire System library to the repo. Here I've modified Clock.cpp and added another alias for Clock_GetElapsedTime so that it conforms with the Ruby standard. git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1590 4e206d99-4929-0410-ac5d-dfc041789085 --- ruby/sfml-system/system/Clock.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/ruby/sfml-system/system/Clock.cpp b/ruby/sfml-system/system/Clock.cpp index 5b7987169..e2cf0f43f 100644 --- a/ruby/sfml-system/system/Clock.cpp +++ b/ruby/sfml-system/system/Clock.cpp @@ -45,4 +45,5 @@ void Init_Clock( void ) // Aliases rb_define_alias( globalClockClass, "elapsedTime", "getElapsedTime" ); + rb_define_alias( globalClockClass, "elapsed_time", "getElapsedTime" ); }