pike.git / src / modules / _Stdio / file_functions.h

version» Context lines:

pike.git/src/modules/_Stdio/file_functions.h:1:   /*   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information.   */    - #define CB_FUNC tFunc(tNone,tOr(tVoid,tMixed)) + #define CB_FUNC tOr(tFunc(tNone,tOr(tVoid,tMixed)), tZero)      /* function(string,string,void|int:int) */   FILE_FUNC("open",file_open, tFunc(tStr tStr tOr(tVoid,tInt),tInt))   #ifdef HAVE_OPENAT   /* function(string,string,void|int:int) */   FILE_FUNC("openat",file_openat, tFunc(tStr tStr tOr(tVoid,tInt),tObjImpl_STDIO_FD))   #endif   /* function(string|void:int) */   FILE_FUNC("close",file_close, tFunc(tOr(tStr,tVoid),tInt))   /* function(string|array(string),mixed...:int) */
pike.git/src/modules/_Stdio/file_functions.h:86:      /* function(mixed:void) */   FILE_FUNC("set_read_callback",file_set_read_callback, tFunc(CB_FUNC,tVoid))   /* function(mixed:void) */   FILE_FUNC("set_write_callback",file_set_write_callback, tFunc(CB_FUNC,tVoid))   /* function(mixed:void) */   FILE_FUNC("set_read_oob_callback",file_set_read_oob_callback, tFunc(CB_FUNC,tVoid))   /* function(mixed:void) */   FILE_FUNC("set_write_oob_callback",file_set_write_oob_callback, tFunc(CB_FUNC,tVoid))   /* function(mixed,int:void) */ - FILE_FUNC("set_fs_event_callback",file_set_fs_event_callback, tFunc(tFunc(tInt,tOr(tVoid,tMixed)) tInt,tVoid)) + FILE_FUNC("set_fs_event_callback",file_set_fs_event_callback, tFunc(tOr(tFunc(tInt,tOr(tVoid,tMixed)), tZero) tInt,tVoid))      FILE_FUNC("query_fs_event_flags",file_query_fs_event_flags, tFunc(tVoid,tInt))      #undef CB_FUNC         /* function(:void) */   FILE_FUNC("_enable_callbacks",file__enable_callbacks, tFunc(tNone,tVoid))   /* function(:void) */   FILE_FUNC("_disable_callbacks",file__disable_callbacks, tFunc(tNone,tVoid))