📄 hab-matches-type-and-id.c
字号:
#include <string.h>#include "bionet-util.h"int bionet_hab_matches_type_and_id(const bionet_hab_t *hab, const char *type, const char *id) { if ( ( (strcmp(type, "*") == 0) || (strcmp(type, hab->type) == 0) ) && ( (strcmp(id, "*") == 0) || (strcmp(id, hab->id) == 0) ) ) { return 1; } return 0;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -