github.com/matrixorigin/matrixone@v1.2.0/cgo/mo_impl.h (about)

     1  /* 
     2   * Copyright 2021 Matrix Origin
     3   *
     4   * Licensed under the Apache License, Version 2.0 (the "License");
     5   * you may not use this file except in compliance with the License.
     6   * You may obtain a copy of the License at
     7   *
     8   *      http://www.apache.org/licenses/LICENSE-2.0
     9   *
    10   * Unless required by applicable law or agreed to in writing, software
    11   * distributed under the License is distributed on an "AS IS" BASIS,
    12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    13   * See the License for the specific language governing permissions and
    14   * limitations under the License.
    15   */
    16  
    17  #ifndef _MO_IMPL_H_
    18  #define _MO_IMPL_H_
    19  
    20  #include "mo.h"
    21  
    22  #include <stdlib.h>
    23  #include <stdbool.h>
    24  #include <math.h>
    25  
    26  static const int32_t RC_SUCCESS = 0;
    27  static const int32_t RC_INFO = 1;
    28  static const int32_t RC_WARN = 2;
    29  
    30  static const int32_t RC_INTERNAL_ERROR = 20101;
    31  
    32  static const int32_t RC_DIVISION_BY_ZERO = 20200;
    33  static const int32_t RC_OUT_OF_RANGE = 20201;
    34  static const int32_t RC_DATA_TRUNCATED = 20202;
    35  static const int32_t RC_INVALID_ARGUMENT = 20203;
    36  
    37  static const int32_t LEFT_IS_SCALAR = 1;
    38  static const int32_t RIGHT_IS_SCALAR = 2;
    39  
    40  
    41  #include "bitmap.h"
    42  
    43  #endif /* _MO_IMPL_H_ */