gattridx.c
来自「支持各种栅格图像和矢量图像读取的库」· C语言 代码 · 共 52 行
C
52 行
/* * gattridx.c$Log$Revision 1.3 2006/02/07 10:17:15 kdejongFixed endian compile problemsome rcs issues of Kor, I guessChecked in by cees (cees@pcraster.nl) on account of KorRevision 1.2 2005/10/03 07:23:00 korRemoved rcs id stringRevision 1.1.1.1 2000/01/04 21:04:37 ceesInitial import CeesRevision 2.0 1996/05/23 13:16:26 ceescsf2cleanRevision 1.1 1996/05/23 13:11:49 ceesInitial revisionRevision 1.3 1995/11/01 17:23:03 cees. * Revision 1.2 1994/09/06 13:27:31 cees * const'fied * added c2man docs * * Revision 1.1 1994/08/26 13:33:23 cees * Initial revision * */#include "csf.h"#include "csfimpl.h"/* search attribute index in block (LIBRARY_INTERNAL) * returns index in block where id is found, NR_ATTR_IN_BLOCK if not found */int CsfGetAttrIndex( CSF_ATTR_ID id, /* id to be found */ const ATTR_CNTRL_BLOCK *b) /* block to inspect */{ int i = 0; while(i < NR_ATTR_IN_BLOCK) { if (b->attrs[i].attrId == id) break; i++; } return(i);}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?