mingw_help.h
来自「skyeye-1.2-RC7-3的源代码」· C头文件 代码 · 共 43 行
H
43 行
#ifndef __MINGW_WIN_BULLSHIT
#define __MINGW_WIN_BULLSHIT
#include <SDL/SDL.h>
#include <SDL/SDL_thread.h>
#include <SDL/SDL_mutex.h>
static SDL_sem * mingw_read_sem;
static int mingw_readed;
static int mingw_char_read;
static int mingw_read_fd;
static int mingw_sem_first_time;
SDL_sem * get_mingw_read_sem();
int get_mingw_readed();
int set_mingw_readed(int tmp);
int get_mingw_char_read();
int set_mingw_char_read(int tmp);
int get_mingw_read_fd();
int set_mingw_read_fd(int tmp);
int get_mingw_sem_first_time();
int set_mingw_sem_first_time(int tmp);
// I want to make the buffer bigger, not one char a time
// but i am lazy...
//static char read_buf[1024];
//static int start_pt = 0;
//static int end_pt = 0;
// end comment
void mingw_start_thread(int fd);
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?