require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&LIBCBOR_DATA_H)) {
    eval 'sub LIBCBOR_DATA_H () {1;}' unless defined(&LIBCBOR_DATA_H);
    require 'stdbool.ph';
    require 'stddef.ph';
    require 'stdint.ph';
    require 'stdlib.ph';
    if(defined(&__cplusplus)) {
    }
    eval("sub CBOR_TYPE_UINT () { 0; }") unless defined(&CBOR_TYPE_UINT);
    eval("sub CBOR_TYPE_NEGINT () { 1; }") unless defined(&CBOR_TYPE_NEGINT);
    eval("sub CBOR_TYPE_BYTESTRING () { 2; }") unless defined(&CBOR_TYPE_BYTESTRING);
    eval("sub CBOR_TYPE_STRING () { 3; }") unless defined(&CBOR_TYPE_STRING);
    eval("sub CBOR_TYPE_ARRAY () { 4; }") unless defined(&CBOR_TYPE_ARRAY);
    eval("sub CBOR_TYPE_MAP () { 5; }") unless defined(&CBOR_TYPE_MAP);
    eval("sub CBOR_TYPE_TAG () { 6; }") unless defined(&CBOR_TYPE_TAG);
    eval("sub CBOR_TYPE_FLOAT_CTRL () { 7; }") unless defined(&CBOR_TYPE_FLOAT_CTRL);
    eval("sub CBOR_ERR_NONE () { 0; }") unless defined(&CBOR_ERR_NONE);
    eval("sub CBOR_ERR_NOTENOUGHDATA () { 1; }") unless defined(&CBOR_ERR_NOTENOUGHDATA);
    eval("sub CBOR_ERR_NODATA () { 2; }") unless defined(&CBOR_ERR_NODATA);
    eval("sub CBOR_ERR_MALFORMATED () { 3; }") unless defined(&CBOR_ERR_MALFORMATED);
    eval("sub CBOR_ERR_MEMERROR () { 4; }") unless defined(&CBOR_ERR_MEMERROR);
    eval("sub CBOR_ERR_SYNTAXERROR () { 5; }") unless defined(&CBOR_ERR_SYNTAXERROR);
    eval("sub CBOR_INT_8 () { 0; }") unless defined(&CBOR_INT_8);
    eval("sub CBOR_INT_16 () { 1; }") unless defined(&CBOR_INT_16);
    eval("sub CBOR_INT_32 () { 2; }") unless defined(&CBOR_INT_32);
    eval("sub CBOR_INT_64 () { 3; }") unless defined(&CBOR_INT_64);
    eval("sub CBOR_FLOAT_0 () { 0; }") unless defined(&CBOR_FLOAT_0);
    eval("sub CBOR_FLOAT_16 () { 1; }") unless defined(&CBOR_FLOAT_16);
    eval("sub CBOR_FLOAT_32 () { 2; }") unless defined(&CBOR_FLOAT_32);
    eval("sub CBOR_FLOAT_64 () { 3; }") unless defined(&CBOR_FLOAT_64);
    eval("sub _CBOR_METADATA_DEFINITE () { 0; }") unless defined(&_CBOR_METADATA_DEFINITE);
    eval("sub _CBOR_METADATA_INDEFINITE () { 1; }") unless defined(&_CBOR_METADATA_INDEFINITE);
    eval("sub CBOR_CTRL_NONE () { 0; }") unless defined(&CBOR_CTRL_NONE);
    eval("sub CBOR_CTRL_FALSE () { 20; }") unless defined(&CBOR_CTRL_FALSE);
    eval("sub CBOR_CTRL_TRUE () { 21; }") unless defined(&CBOR_CTRL_TRUE);
    eval("sub CBOR_CTRL_NULL () { 22; }") unless defined(&CBOR_CTRL_NULL);
    eval("sub CBOR_CTRL_UNDEF () { 23; }") unless defined(&CBOR_CTRL_UNDEF);
    eval("sub CBOR_DECODER_FINISHED () { 0; }") unless defined(&CBOR_DECODER_FINISHED);
    eval("sub CBOR_DECODER_NEDATA () { 1; }") unless defined(&CBOR_DECODER_NEDATA);
    eval("sub CBOR_DECODER_EBUFFER () { 2; }") unless defined(&CBOR_DECODER_EBUFFER);
    eval("sub CBOR_DECODER_ERROR () { 3; }") unless defined(&CBOR_DECODER_ERROR);
    if(defined(&__cplusplus)) {
    }
}
1;
