<commit_before>/* License: Apache 2.0. See LICENSE file in root directory.
   Copyright(c) 2015 Intel Corporation. All Rights Reserved. */

#ifndef LIBREALSENSE_RS_H
#define LIBREALSENSE_RS_H

#ifdef __cplusplus
extern "C" {
#endif

#define RS_API_MAJOR_VERSION    2
#define RS_API_MINOR_VERSION    4
#define RS_API_PATCH_VERSION    2

#define STRINGIFY(arg) #arg
#define VAR_ARG_STRING(arg) STRINGIFY(arg)

/* Version in encoded integer format (1,9,x) -> 1090x note that each component is limited into [0-99] range by design*/
#define RS_API_VERSION  (((RS_API_MAJOR_VERSION) * 10000) + ((RS_API_MINOR_VERSION) * 100) + (RS_API_PATCH_VERSION))
/* Return version in "X.Y.Z" format */
#define RS_API_VERSION_STR (VAR_ARG_STRING(RS_API_MAJOR_VERSION.RS_API_MINOR_VERSION.RS_API_PATCH_VERSION))

typedef enum rs_exception_type
{
    RS_EXCEPTION_TYPE_UNKNOWN,
    RS_EXCEPTION_TYPE_CAMERA_DISCONNECTED,
    RS_EXCEPTION_TYPE_BACKEND,
    RS_EXCEPTION_TYPE_INVALID_VALUE,
    RS_EXCEPTION_TYPE_WRONG_API_CALL_SEQUENCE,
    RS_EXCEPTION_TYPE_NOT_IMPLEMENTED,
    RS_EXCEPTION_TYPE_DEVICE_IN_RECOVERY_MODE,
    RS_EXCEPTION_TYPE_COUNT
} rs_exception_type;

typedef enum rs_stream
{
    RS_STREAM_ANY,
    RS_STREAM_DEPTH,
    RS_STREAM_COLOR,
    RS_STREAM_INFRARED,<commit_msg>Promote version to 2.4.3<commit_after>/* License: Apache 2.0. See LICENSE file in root directory.
   Copyright(c) 2015 Intel Corporation. All Rights Reserved. */

#ifndef LIBREALSENSE_RS_H
#define LIBREALSENSE_RS_H

#ifdef __cplusplus
extern "C" {
#endif

#define RS_API_MAJOR_VERSION    2
#define RS_API_MINOR_VERSION    4
#define RS_API_PATCH_VERSION    3

#define STRINGIFY(arg) #arg
#define VAR_ARG_STRING(arg) STRINGIFY(arg)

/* Version in encoded integer format (1,9,x) -> 1090x note that each component is limited into [0-99] range by design*/
#define RS_API_VERSION  (((RS_API_MAJOR_VERSION) * 10000) + ((RS_API_MINOR_VERSION) * 100) + (RS_API_PATCH_VERSION))
/* Return version in "X.Y.Z" format */
#define RS_API_VERSION_STR (VAR_ARG_STRING(RS_API_MAJOR_VERSION.RS_API_MINOR_VERSION.RS_API_PATCH_VERSION))

typedef enum rs_exception_type
{
    RS_EXCEPTION_TYPE_UNKNOWN,
    RS_EXCEPTION_TYPE_CAMERA_DISCONNECTED,
    RS_EXCEPTION_TYPE_BACKEND,
    RS_EXCEPTION_TYPE_INVALID_VALUE,
    RS_EXCEPTION_TYPE_WRONG_API_CALL_SEQUENCE,
    RS_EXCEPTION_TYPE_NOT_IMPLEMENTED,
    RS_EXCEPTION_TYPE_DEVICE_IN_RECOVERY_MODE,
    RS_EXCEPTION_TYPE_COUNT
} rs_exception_type;

typedef enum rs_stream
{
    RS_STREAM_ANY,
    RS_STREAM_DEPTH,
    RS_STREAM_COLOR,
    RS_STREAM_INFRARED,
{'fraction_non_alphanumeric': 0.07436399217221135, 'fraction_numerical': 0.021526418786692758, 'mean_word_length': 5.6217616580310885, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3363019', 'n_tokens_mistral': 1052, 'n_tokens_neox': 954, 'n_words': 188}