editorconfig_handle_set_version

Function editorconfig_handle_set_version 

Source
pub unsafe extern "C" fn editorconfig_handle_set_version(
    h: editorconfig_handle,
    major: c_int,
    minor: c_int,
    patch: c_int,
)
Expand description

@brief Set the version fields of an editorconfig_handle object.

@param h The editorconfig_handle object whose version fields need to be set.

@param major If not less than 0, the major version field will be set to major. If this parameter is less than 0, the major version field of the editorconfig_handle object will remain unchanged.

@param minor If not less than 0, the minor version field will be set to minor. If this parameter is less than 0, the minor version field of the editorconfig_handle object will remain unchanged.

@param patch If not less than 0, the patch version field will be set to patch. If this parameter is less than 0, the patch version field of the editorconfig_handle object will remain unchanged.

@return None.