getInfo method

bool getInfo(
  1. int num,
  2. ClipFuncInfo info
)

Implementation

bool getInfo( int num, ClipFuncInfo info ){
	int tmp = 0;
	ClipFuncData? cur = _top;
	while( true ){
		if( cur == null ){
			return false;
		}
		if( tmp == num ){
			break;
		}
		tmp++;
		cur = cur._next;
	}
	info._name = cur._info!._name;
	info._cnt  = cur._info!._cnt;
	return true;
}