Jan Breuer
2015-04-18 82e8043c966034d4cc7aa3718d827f53eba9a4dc
Export matchCommand by SCPI_Match - resolve #30

matchCommand prototype may change in the future. Making
public API function should resolve future issues.
2个文件已修改
9 ■■■■■ 已修改文件
libscpi/inc/scpi/parser.h 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
libscpi/src/parser.c 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
libscpi/inc/scpi/parser.h
@@ -78,6 +78,7 @@
    scpi_bool_t SCPI_IsCmd(scpi_t * context, const char * cmd);
    int32_t SCPI_CmdTag(scpi_t * context);
    scpi_bool_t SCPI_Match(const char * pattern, const char * value, size_t len);
    
#ifdef    __cplusplus
}
libscpi/src/parser.c
@@ -1009,11 +1009,9 @@
    }
}
scpi_bool_t SCPI_Match(const char * pattern, const char * value, size_t len) {
    return matchCommand (pattern, value, len);
}