attravai.c

来自「支持各种栅格图像和矢量图像读取的库」· C语言 代码 · 共 27 行

C
27
字号
/* * attravai.c */#include "csf.h"#include "csfimpl.h"/* check if an attribute is available * MattributeAvail search for the given id in the map. * * returns *  0 if the attribute is not available, *  nonzero if the attribute is available * * Merrno * ILLHANDLE */int MattributeAvail(	MAP *m,    /* map handle */	CSF_ATTR_ID id)  /* identification of attribute */{	ATTR_CNTRL_BLOCK b;     	if (! CsfIsValidMap(m))	 	return 0;	return(CsfGetAttrBlock(m, id, &b) != 0);}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?