⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mingw_help.h

📁 skyeye-1.2-RC7-3的源代码
💻 H
字号:
#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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -