亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? api.c

?? 下載來的一個看圖軟件的源代碼
?? C
?? 第 1 頁 / 共 2 頁
字號:
		}		if (more == 0)		{	WMF_ERROR (API,"wmf_[*]alloc: insufficient memory!");			API->err = wmf_E_InsMem;			return (0);		}		MM->max += 32;		MM->list = more;	}	if (MM->malloc)	{	mem = MM->malloc (MM->context,size);	}	else	{	mem = malloc (size);	}	if (mem == 0)	{	WMF_ERROR (API,"wmf_[*]alloc: insufficient memory!");		API->err = wmf_E_InsMem;		return (0);	}	MM->list[MM->count] = mem;	MM->count++;	return (mem);}/** * Allocate memory of specified size and attach to the API's memory manager's internal list. *  * @param API    the API handle * @param number number or elements * @param size   size in bytes of memory required by one element *  * With syntax similar to calloc(), wmf_calloc() allocates \p number * \p size bytes of memory and adds a * reference to it in the memory manager's list. To free the memory, use wmf_free(). *  * @return Pointer to new memory, or zero on failure. *         Sets error state \b wmf_E_InsMem on failure. */void* wmf_calloc (wmfAPI* API,size_t number,size_t size){	return (wmf_malloc (API,number * size));}/** * (Re)Allocate memory of specified size and attach to the API's memory manager's internal list. *  * @param API  the API handle * @param mem  pointer to memory previously allocated via the API * @param size new size in bytes of memory required *  * With syntax similar to realloc(), wmf_realloc() allocates \p size bytes of memory and adds a reference * to it in the memory manager's list. To free the memory, use wmf_free(). If \p mem is zero, this is * equivalent to a call to wmf_malloc(). If \p size is zero, the memory is released via wmf_free(). *  * @return Pointer to new memory, or zero on failure. *         Sets error state \b wmf_E_InsMem on failure. */void* wmf_realloc (wmfAPI* API,void* mem,size_t size){	wmfMemoryManager* MM = (wmfMemoryManager*) API->memory_data;	void* more = 0;	int i;	if (mem == 0) return (wmf_malloc (API,size));	if (size == 0)	{	WMF_DEBUG (API,"wmf_realloc: attempt to allocate zero-sized memory!");		wmf_free (API,mem);		return (0);	}	for (i = 0; i < MM->count; i++)		if (MM->list[i] == mem)		{	if (MM->realloc)			{	more = MM->realloc (MM->context,mem,size);			}			else			{	more = realloc (mem,size);			}			if (more == 0)			{	WMF_ERROR (API,"wmf_[*]alloc: insufficient memory!");				API->err = wmf_E_InsMem;			}			else			{	MM->list[i] = more;			}			break;		}	return (more);}/** * Frees memory attached to the API's memory manager's internal list. *  * @param API the API handle * @param mem pointer to memory previously allocated via the API *  * Syntax is similar to free(). */void wmf_free (wmfAPI* API,void* mem){	wmfMemoryManager* MM = (wmfMemoryManager*) API->memory_data;	int i;	for (i = 0; i < MM->count; i++)		if (MM->list[i] == mem)		{	if (MM->free)			{	MM->free (MM->context,mem);			}			else			{	free (mem);			}			MM->count--;			MM->list[i] = MM->list[MM->count];			break;		}}/** * Detach memory attached to the API's memory manager's internal list. *  * @param API the API handle * @param mem pointer to memory previously allocated via the API *  * This removes the reference in the API's memory manager's internal list, and the memory will not, * therefore, be released by wmf_api_destroy(). To free subsequently, use free(). */void wmf_detach (wmfAPI* API,void* mem){	wmfMemoryManager* MM = (wmfMemoryManager*) API->memory_data;	int i;	for (i = 0; i < MM->count; i++)		if (MM->list[i] == mem)		{	MM->count--;			MM->list[i] = MM->list[MM->count];			break;		}}/** * Duplicate string and attach to the API's memory manager's internal list. *  * @param API the API handle * @param str a string *  * With syntax similar to strdup(), wmf_strdup() allocates the necessary memory via wmf_malloc() and copies * the string. Use wmf_free() to free the string. *  * @return Pointer to new string, or zero on failure. *         Sets error state \b wmf_E_InsMem on failure, or \b wmf_E_Glitch if str is zero. */char* wmf_strdup (wmfAPI* API,char* str){	char* cpy = 0;	if (str == 0)	{	if (ERR (API)) return (0);		WMF_ERROR (API,"wmf_strdup: attempt to copy non-existent string!");		API->err = wmf_E_Glitch;		return (0);	}	cpy = (char*) wmf_malloc (API,strlen (str) + 1);	if (ERR (API)) return (0);	strcpy (cpy,str);	return (cpy);}/** * Create concatenatation of two strings and attach to the API's memory manager's internal list. *  * @param API  the API handle * @param pre  a string * @param post a string *  * wmf_str_append() allocates the necessary memory via wmf_malloc(), copies \p pre into the string and * appends \p post. Use wmf_free() to free the string. *  * @return Pointer to new string, or zero on failure. *         Sets error state \b wmf_E_InsMem on failure, or \b wmf_E_Glitch if str is zero. */char* wmf_str_append (wmfAPI* API,char* pre,char* post){	char* cpy = 0;	if ((pre == 0) && (post == 0)) return (0);	if (pre  == 0) return (wmf_strdup (API,post));	if (post == 0) return (wmf_strdup (API,pre));	cpy = (char*) wmf_malloc (API,strlen (pre) + strlen (post) + 1);	if (ERR (API)) return (0);	strcpy (cpy,pre);	strcat (cpy,post);	return (cpy);}/** * Substring search. *  * @param hatstack a string * @param needle   a substring to search for in haystack *  * With syntax identical to strstr(), wmf_strstr() searches for string \p needle in string \p haystack. *  * @return Pointer to substring \p needle found in \p haystack, or zero if not found. */char* wmf_strstr (const char* haystack,const char* needle){#ifdef HAVE_STRSTR	return (strstr (haystack,needle));#else /* HAVE_STRSTR */	const char* ptr1;	const char* ptr2;	const char* ptr3;	ptr1 = haystack;	while (*ptr1)	{	ptr2 = ptr1;		ptr3 = needle;		while ((*ptr3) == (*ptr2))		{	if ((*ptr3) == 0) break;			ptr2++;			ptr3++;		}		if ((*ptr3) == 0) break;		ptr1++;	}	return ((*ptr1) ? (char*) ptr1 : 0);#endif /* HAVE_STRSTR */}/* Optional status call-back function * ================================== *//** * Set a status call-back function. *  * @param API      the API handle * @param context  handle for user data * @param function call-back function *  * The metafile player calls the status function after each record. */void wmf_status_function (wmfAPI* API,void* context,wmfStatus function){	API->status.context = context;	API->status.function = function;}/* Check command line for arg. * =========================== */static void wmf_arg (unsigned long* flags,wmfAPI_Options* options){	char** argv = options->argv;	int    argc = options->argc;	int    arg = 0;	while ((++arg) < argc)	{	if (strncmp (argv[arg],"--wmf-",6)) continue;		if (strcmp (argv[arg],"--wmf-help") == 0)		{	/* This is ignored; the controlling program can check for it... */			continue;		}		if ((strcmp (argv[arg],"--wmf-error"    ) == 0)		 || (strcmp (argv[arg],"--wmf-error=yes") == 0))		{	(*flags) &= ~WMF_OPT_NO_ERROR;			continue;		}		if (strcmp (argv[arg],"--wmf-error=no") == 0)		{	(*flags) |= WMF_OPT_NO_ERROR;			continue;		}		if ((strcmp (argv[arg],"--wmf-debug"    ) == 0)		 || (strcmp (argv[arg],"--wmf-debug=yes") == 0))		{	(*flags) &= ~WMF_OPT_NO_DEBUG;			continue;		}		if (strcmp (argv[arg],"--wmf-debug=no") == 0)		{	(*flags) |= WMF_OPT_NO_DEBUG;			continue;		}		if (strcmp (argv[arg],"--wmf-sys-fonts") == 0)		{	(*flags) |= WMF_OPT_SYS_FONTS;			continue;		}		if (strncmp (argv[arg],"--wmf-sys-fontmap=",18) == 0)		{	(*flags) |= WMF_OPT_SYS_FONTS;			(*flags) |= WMF_OPT_SYS_FONTMAP;			options->sys_fontmap_file = argv[arg] + 18;			continue;		}		if (strcmp (argv[arg],"--wmf-xtra-fonts") == 0)		{	(*flags) |= WMF_OPT_XTRA_FONTS;			continue;		}		if (strncmp (argv[arg],"--wmf-xtra-fontmap=",19) == 0)		{	(*flags) |= WMF_OPT_XTRA_FONTS;			(*flags) |= WMF_OPT_XTRA_FONTMAP;			options->xtra_fontmap_file = argv[arg] + 19;			continue;		}		if (strncmp (argv[arg],"--wmf-gs-fontmap=",17) == 0)		{	(*flags) |= WMF_OPT_GS_FONTMAP;			options->gs_fontmap_file = argv[arg] + 17;			continue;		}		if ((strcmp (argv[arg],"--wmf-ignore-nonfatal"    ) == 0)		 || (strcmp (argv[arg],"--wmf-ignore-nonfatal=yes") == 0))		{	(*flags) |= WMF_OPT_IGNORE_NONFATAL;			continue;		}		if (strcmp (argv[arg],"--wmf-ignore-nonfatal=no") == 0)		{	(*flags) &= ~WMF_OPT_IGNORE_NONFATAL;			continue;		}		if (strcmp (argv[arg],"--wmf-diagnostics") == 0)		{	(*flags) |= WMF_OPT_DIAGNOSTICS;			continue;		}		if (strncmp (argv[arg],"--wmf-fontdir=",14) == 0) continue; /* ignore for now */	}	(*flags) &= 0x000fffff;}static void wmf_arg_fontdirs (wmfAPI* API,wmfAPI_Options* options){	char** argv = options->argv;	int    argc = options->argc;	int    arg = 0;	if (API->flags & WMF_OPT_ARGS)	{	while ((++arg) < argc)		{	if (strncmp (argv[arg],"--wmf-fontdir=",14) == 0)			{	wmf_ipa_font_dir (API,argv[arg] + 14);			}		}	}	if (API->flags & WMF_OPT_FONTDIRS)	{	argv = options->fontdirs;		while (*argv)		{	wmf_ipa_font_dir (API,(*argv));			argv++;		}	}	wmf_ipa_font_dir (API,WMF_GS_FONTDIR);	wmf_ipa_font_dir (API,WMF_FONTDIR);}/** * @verbatim Additional wmf-related options:  --wmf-error[=yes|no]            switch for error reports.  --wmf-debug[=yes|no]            switch for debug reports, if any.  --wmf-ignore-nonfatal[=yes|no]  switch to ignore (some) non-fatal errors.  --wmf-diagnostics               emit diagnostic information.  --wmf-fontdir=<path>            add <path> to list of font directories.  --wmf-sys-fonts                 use system fonts, if any found.  --wmf-sys-fontmap=<file>        use system xml-fontmap file <file>.  --wmf-xtra-fonts                use non-system fonts, if any found.  --wmf-xtra-fontmap=<file>       use non-system xml-fontmap file <file>.  --wmf-gs-fontmap=<file>         use ghostscript file <file>.Report bugs to <http://www.wvware.com/>.@endverbatim  *  * @return Returns the above as a string. */char* wmf_help (){	static char* help = "\Additional wmf-related options:\n\\n\  --wmf-error[=yes|no]            switch for error reports.\n\  --wmf-debug[=yes|no]            switch for debug reports, if any.\n\  --wmf-ignore-nonfatal[=yes|no]  switch to ignore (some) non-fatal errors.\n\  --wmf-diagnostics               emit diagnostic information.\n\  --wmf-fontdir=<path>            add <path> to list of font directories.\n\  --wmf-sys-fonts                 use system fonts, if any found.\n\  --wmf-sys-fontmap=<file>        use system xml-fontmap file <file>.\n\  --wmf-xtra-fonts                use non-system fonts, if any found.\n\  --wmf-xtra-fontmap=<file>       use non-system xml-fontmap file <file>.\n\  --wmf-gs-fontmap=<file>         use ghostscript file <file>.\n\\n\Report bugs to <http://www.wvware.com/>.\n";	return (help);}/** * Increase the size of the internal string buffer. *  * @param API the API handle *  * \b libwmf maintains an internal buffer for string operations. wmf_strbuf_grow() increases the size by 64. *  * @return Returns the new size of the buffer. *         Uses wmf_realloc(), so may set \b wmf_E_InsMem on failure. */unsigned long wmf_strbuf_grow (wmfAPI* API){	char* more = (char*) wmf_realloc (API,API->string_buffer.buffer,(API->string_buffer.length + 64) * sizeof (char));	if (ERR (API))	{	WMF_DEBUG (API,"bailing...");		return (0);	}	API->string_buffer.length += 64;	API->string_buffer.buffer = more;	return (API->string_buffer.length);}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
韩国v欧美v日本v亚洲v| 亚洲一区免费在线观看| 国产精品系列在线观看| 国产亚洲1区2区3区| 国产不卡免费视频| 国产精品电影院| 欧美在线观看视频一区二区| 亚洲18色成人| 精品美女被调教视频大全网站| 国产成人亚洲综合a∨婷婷| 国产精品久久久久久久久搜平片 | 日本大香伊一区二区三区| 亚洲综合丝袜美腿| 日韩三级在线观看| 成人免费毛片嘿嘿连载视频| 亚洲精品乱码久久久久久日本蜜臀| 欧美色综合网站| 看国产成人h片视频| 国产精品久久久久精k8| 欧美视频完全免费看| 极品少妇xxxx精品少妇偷拍| 亚洲欧美综合色| 欧美一区二区三区性视频| 国产成a人亚洲精品| 亚洲国产综合色| 国产亚洲视频系列| 在线免费精品视频| 国产精品综合网| 亚洲国产视频一区| 国产色综合一区| 欧美性高清videossexo| 国产成人av电影在线| 亚洲自拍欧美精品| 国产欧美综合在线| 欧美乱妇15p| av在线不卡免费看| 久久精品国产免费| 亚洲综合一区二区三区| 国产亚洲精品超碰| 欧美一区二区三区小说| 日本韩国一区二区三区| 国产一区二区三区电影在线观看 | 免费精品视频在线| 中文字幕一区二区三区精华液 | 亚洲一区在线观看免费观看电影高清| 日韩一区二区三区视频在线| 91亚洲精品久久久蜜桃网站| 日韩精品一级二级| 亚洲精选视频免费看| 国产欧美久久久精品影院| 欧美亚洲国产一区在线观看网站| 国产成人av一区二区| 日韩电影免费一区| 亚洲黄色在线视频| 国产精品久久久久久久蜜臀| 精品国产sm最大网站免费看| 欧美老年两性高潮| 日本国产一区二区| 北条麻妃一区二区三区| 国产精品影视在线观看| 久久丁香综合五月国产三级网站| 亚洲高清在线精品| 亚洲精品ww久久久久久p站 | 亚洲福利一二三区| 亚洲综合一区二区三区| 亚洲天堂精品视频| 国产精品你懂的在线| 国产人伦精品一区二区| 精品国产第一区二区三区观看体验| 欧美日韩一卡二卡| 欧美视频精品在线| 欧美日韩一区二区三区四区五区| 99这里只有久久精品视频| 国产成人丝袜美腿| 国产毛片精品视频| 国产精品一区2区| 国产自产高清不卡| 国精产品一区一区三区mba视频| 久久黄色级2电影| 韩国v欧美v日本v亚洲v| 国产福利一区二区三区视频在线 | 亚洲一区二区三区自拍| 伊人一区二区三区| 亚洲精选免费视频| 午夜视频在线观看一区二区| 图片区小说区区亚洲影院| 亚洲第一精品在线| 日本在线播放一区二区三区| 蜜臀av性久久久久蜜臀av麻豆| 日本vs亚洲vs韩国一区三区二区 | 国产精品久久免费看| 中文无字幕一区二区三区 | 日韩一区二区在线免费观看| 日韩欧美中文字幕制服| 久久久久久久久久久久电影| 国产欧美日本一区二区三区| 国产精品不卡一区| 亚洲一卡二卡三卡四卡无卡久久| 五月天欧美精品| 精品一区二区三区在线视频| 国产91精品一区二区麻豆网站 | 色中色一区二区| 欧美高清视频一二三区 | 不卡的电影网站| 在线日韩av片| 日韩一级黄色大片| 国产精品热久久久久夜色精品三区 | 国产乱码精品一品二品| 99久久99久久久精品齐齐| 欧美三区在线观看| www欧美成人18+| 中文字幕一区二区三区在线播放| 亚洲亚洲人成综合网络| 国产原创一区二区三区| 欧美中文字幕不卡| 欧美成人精品1314www| 中文字幕中文在线不卡住| 丝袜亚洲另类欧美综合| 国产ts人妖一区二区| 欧美中文字幕一区二区三区| 亚洲精品一区二区三区99| 亚洲另类色综合网站| 韩国欧美国产1区| 在线观看日韩电影| 中文字幕欧美日本乱码一线二线| 亚洲激情男女视频| 国产精品一区二区久久不卡| 欧美日韩在线直播| 亚洲国产成人在线| 久久精品国产亚洲高清剧情介绍| 色综合中文字幕国产 | 一区二区三区免费在线观看| 九九九精品视频| 欧美性生活久久| 国产欧美一区视频| 日韩影视精彩在线| 色呦呦一区二区三区| 久久综合久久综合久久| 亚洲五码中文字幕| 99久久er热在这里只有精品15| 精品国精品自拍自在线| 亚洲一区二区精品久久av| zzijzzij亚洲日本少妇熟睡| 欧美电影免费观看高清完整版在线| 亚洲欧美电影一区二区| 国产v日产∨综合v精品视频| 日韩精品一区二区三区老鸭窝| 一区二区三区精品在线| 成人黄色777网| 久久久久久久综合日本| 久久99国产精品麻豆| 欧美嫩在线观看| 亚洲高清免费视频| 在线视频欧美区| 一区二区三区在线观看网站| av在线播放不卡| 欧美激情艳妇裸体舞| 国产精品1024久久| 国产日韩欧美精品电影三级在线| 精品午夜久久福利影院| 日韩精品一区二区三区视频在线观看| 亚洲成av人在线观看| 欧美色视频在线| 偷拍一区二区三区四区| 欧美日韩视频第一区| 亚洲一区二区在线免费观看视频| 91视视频在线观看入口直接观看www | 精品在线播放免费| 日韩精品一区二区三区中文不卡| 天堂一区二区在线| 6080国产精品一区二区| 石原莉奈在线亚洲二区| 91精品午夜视频| 蜜臀久久久99精品久久久久久| 4438亚洲最大| 另类小说综合欧美亚洲| 欧美不卡一区二区三区四区| 九色|91porny| 日本一区二区成人在线| jlzzjlzz欧美大全| 一区二区三区久久| 欧美在线影院一区二区| 性做久久久久久久久| 欧美一区二区在线不卡| 久久激情综合网| 国产精品欧美精品| 在线国产亚洲欧美| 秋霞午夜鲁丝一区二区老狼| 精品奇米国产一区二区三区| 国产在线精品一区二区| 国产精品私人影院| 91行情网站电视在线观看高清版| 亚洲高清不卡在线观看| 日韩精品中文字幕一区二区三区| 国产成人亚洲综合a∨婷婷图片| 中文字幕日本不卡| 欧美另类videos死尸| 国产精品888| 亚洲激情自拍视频| 26uuu精品一区二区|