root / trunk / pysoy / include / stdio.pxd

Revision 1265, 1.1 kB (checked in by ArcRiley, 5 months ago)

Pyrex 0.9.8.2 fixes :

  • now requires 0.9.8.2
  • nogil goes everywhere
  • a few functions got GIL-cleaned
  • still doesn't compile, but many steps closer
  • Property svn:keywords set to Id
Line 
1# C Standard IO Declarations
2#
3# Copyright (C) 2006,2007,2008 PySoy Group
4#
5#  This program is free software; you can redistribute it and/or modify
6#  it under the terms of the GNU Affero General Public License as published
7#  by the Free Software Foundation, either version 3 of the License, or
8#  (at your option) any later version.
9#
10#  This program is distributed in the hope that it will be useful,
11#  but WITHOUT ANY WARRANTY; without even the implied warranty of
12#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13#  GNU Affero General Public License for more details.
14#
15#  You should have received a copy of the GNU Affero General Public License
16#  along with this program; if not, see http://www.gnu.org/licenses
17#
18# $Id$
19
20cdef extern from "stdio.h" nogil :
21  ctypedef enum :
22    SEEK_SET
23    SEEK_CUR
24    SEEK_END
25  int   printf  ( char*, ... )
26  void *fopen   ( char*, char* )
27  int   fclose  ( void* )
28  int   fread   ( void*, int, int, void* )
29  int   fwrite  ( void*, int, int, void* )
30  int   fseek   ( void*, long, int )
31  long  ftell   ( void* )
32  void  rewind  ( void* )
33
34cdef extern from "signal.h" nogil :
35  int   c_raise "raise" ( int )
Note: See TracBrowser for help on using the browser.