Author: ArcRiley Date: 2008-02-11 00:50:20 -0500 (Mon, 11 Feb 2008) New Revision: 852
Removed: trunk/pysoy/src/_core-osx/_sleep.pxi trunk/pysoy/src/_core-osx/_time.pxi Log: these were moved to _internals (see -posix versions) Deleted: trunk/pysoy/src/_core-osx/_sleep.pxi =================================================================== --- trunk/pysoy/src/_core-osx/_sleep.pxi 2008-02-11 05:46:45 UTC (rev 851) +++ trunk/pysoy/src/_core-osx/_sleep.pxi 2008-02-11 05:50:20 UTC (rev 852) @@ -1,21 +0,0 @@ -# PySoy _sleep Function (for Unix platforms) -# -# Copyright (C) 2006,2007,2008 PySoy Group -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, see http://www.gnu.org/licenses -# -# $Id$ - -cdef void _sleep( unsigned int mseconds ) : - usleep( mseconds * 1000 ) Deleted: trunk/pysoy/src/_core-osx/_time.pxi =================================================================== --- trunk/pysoy/src/_core-osx/_time.pxi 2008-02-11 05:46:45 UTC (rev 851) +++ trunk/pysoy/src/_core-osx/_time.pxi 2008-02-11 05:50:20 UTC (rev 852) @@ -1,23 +0,0 @@ -# PySoy _time Function (for Unix platforms) -# -# Copyright (C) 2006,2007,2008 PySoy Group -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, see http://www.gnu.org/licenses -# -# $Id: _time.pxi 241 2007-06-19 06:35:15Z ArcRiley $ - -cdef double _time( ) : - cdef timeval tv - gettimeofday(&tv, NULL) - return tv.tv_sec + ( <double> tv.tv_usec / 1000000.0 ) _______________________________________________ PySoy-SVN mailing list [email protected] http://www.pysoy.org/mailman/listinfo/pysoy-svn
