summaryrefslogtreecommitdiff
path: root/include/term/term_types.h
diff options
context:
space:
mode:
authorBerke Güzel <wenekar1@gmail.com>2026-10-15 13:04:32 +0300
committerBerke Güzel <wenekar1@gmail.com>2026-10-15 13:04:32 +0300
commitbdaedce69b17b654bd0060579dd9b9ff120009b5 (patch)
tree0e9cd8597652263a96c48ba678fb0b66e1fc131b /include/term/term_types.h
parentba75c8b0a1bba03ad92c53375432f122ddb4cb98 (diff)
parentdcebf9c7f954a55350b68d0ead1935612c4e2e05 (diff)
Merge branch 'wt/rename' into api-hardening
# Conflicts: # README.md
Diffstat (limited to 'include/term/term_types.h')
-rw-r--r--include/term/term_types.h32
1 files changed, 0 insertions, 32 deletions
diff --git a/include/term/term_types.h b/include/term/term_types.h
deleted file mode 100644
index 78be371..0000000
--- a/include/term/term_types.h
+++ /dev/null
@@ -1,32 +0,0 @@
-#ifndef TERM_TYPES_H
-#define TERM_TYPES_H
-
-/* Marks the public functions. The library builds with hidden symbols, so
- * only these are visible outside a shared build. A host can define it
- * first, for example as __declspec(dllimport). */
-#ifndef TERM_API
-#if defined(__GNUC__) || defined(__clang__)
-#define TERM_API __attribute__((visibility("default")))
-#else
-#define TERM_API
-#endif
-#endif
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-struct term_vector2i {
- int x, y;
-};
-
-struct term_span {
- int begin;
- int end;
-};
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif