Jan Breuer
2014-12-12 182d9a4b6937744aefb4c0a315226c1ad5568d68
Fix findCommand const parameter (pull-request #17)
1个文件已修改
9 ■■■■ 已修改文件
libscpi/inc/scpi/types.h 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
libscpi/inc/scpi/types.h
@@ -112,11 +112,18 @@
    };
    typedef struct _scpi_buffer_t scpi_buffer_t;
    struct _scpi_const_buffer_t {
        size_t length;
        size_t position;
        const char * data;
    };
    typedef struct _scpi_const_buffer_t scpi_const_buffer_t;
    struct _scpi_param_list_t {
        const scpi_command_t * cmd;
        const char * parameters;
        size_t length;
        scpi_buffer_t cmd_raw;
        scpi_const_buffer_t cmd_raw;
    };
    #define SCPI_CMD_LIST_END       {NULL, NULL, }
    typedef struct _scpi_param_list_t scpi_param_list_t;