bindings/python/bt2: Make the bt2 Python bindings build
[babeltrace.git] / bindings / python / bt2 / bt2 / native_btfields.i
diff --git a/bindings/python/bt2/bt2/native_btfields.i b/bindings/python/bt2/bt2/native_btfields.i
deleted file mode 100644 (file)
index 051ae66..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-/*
- * The MIT License (MIT)
- *
- * Copyright (c) 2016 Philippe Proulx <pproulx@efficios.com>
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-/* Type */
-struct bt_field;
-
-/* Common functions */
-struct bt_field *bt_field_create(
-               struct bt_field_type *type);
-struct bt_field_type *bt_field_get_type(
-               struct bt_field *field);
-struct bt_field *bt_field_copy(struct bt_field *field);
-bt_bool bt_field_is_set(struct bt_field *field);
-int bt_field_reset(struct bt_field *field);
-
-/* Integer field functions */
-int bt_field_signed_integer_get_value(struct bt_field *integer,
-               int64_t *OUTPUT);
-int bt_field_signed_integer_set_value(struct bt_field *integer,
-               int64_t value);
-int bt_field_unsigned_integer_get_value(struct bt_field *integer,
-               uint64_t *OUTPUT);
-int bt_field_unsigned_integer_set_value(struct bt_field *integer,
-               uint64_t value);
-
-/* Floating point number field functions */
-int bt_field_floating_point_get_value(
-               struct bt_field *floating_point, double *OUTPUT);
-int bt_field_floating_point_set_value(
-               struct bt_field *floating_point,
-               double value);
-
-/* Enumeration field functions */
-struct bt_field *bt_field_enumeration_get_container(
-               struct bt_field *enumeration);
-struct bt_field_type_enumeration_mapping_iterator *
-bt_field_enumeration_get_mappings(struct bt_field *enum_field);
-
-/* String field functions */
-const char *bt_field_string_get_value(
-               struct bt_field *string_field);
-int bt_field_string_set_value(struct bt_field *string_field,
-               const char *value);
-int bt_field_string_append(struct bt_field *string_field,
-               const char *value);
-int bt_field_string_append_len(
-               struct bt_field *string_field, const char *value,
-               unsigned int length);
-
-/* Structure field functions */
-struct bt_field *bt_field_structure_get_field_by_index(
-               struct bt_field *structure, int index);
-struct bt_field *bt_field_structure_get_field_by_name(
-               struct bt_field *struct_field, const char *name);
-int bt_field_structure_set_field_by_name(struct bt_field *struct_field,
-               const char *name, struct bt_field *field);
-
-/* Array field functions */
-struct bt_field *bt_field_array_get_field(
-               struct bt_field *array, uint64_t index);
-
-/* Sequence field functions */
-struct bt_field *bt_field_sequence_get_length(
-               struct bt_field *sequence);
-int bt_field_sequence_set_length(struct bt_field *sequence,
-               struct bt_field *length_field);
-struct bt_field *bt_field_sequence_get_field(
-               struct bt_field *sequence, uint64_t index);
-
-/* Variant field functions */
-struct bt_field *bt_field_variant_get_field(
-               struct bt_field *variant, struct bt_field *tag);
-struct bt_field *bt_field_variant_get_current_field(
-               struct bt_field *variant);
-struct bt_field *bt_field_variant_get_tag(
-               struct bt_field *variant);
This page took 0.023892 seconds and 4 git commands to generate.