aboutsummaryrefslogtreecommitdiff
path: root/tests/good/directions.defs
diff options
context:
space:
mode:
authorFlavio Cruz <flaviocruz@gmail.com>2016-04-19 03:05:13 -0400
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2020-01-28 00:38:25 +0100
commitecf59842e472d28a54a16acffe4aaa2f882108c6 (patch)
tree6b5b18641ec85d2b41ac4e6cb7f11ec044bf3c64 /tests/good/directions.defs
parent89298f4a0f61799b0a12e0ca297fe26a97c7e64e (diff)
downloadmig-ecf59842e472d28a54a16acffe4aaa2f882108c6.tar.gz
mig-ecf59842e472d28a54a16acffe4aaa2f882108c6.tar.bz2
mig-ecf59842e472d28a54a16acffe4aaa2f882108c6.zip
Make MIG recognize the basic C integral types.
Also removed itMakeIntType which was not used anymore. Users can use char, int, and short types without having to define them. These types are defined using the builtin MACH_MSG_TYPE_* types and are architecture independent since they have the same size as the C char, short and int. If these basic types are redefined, MIG will still produce stub code but will produce a warning. * cpu.sym: Define sizeof_int, char, short. * tests/base_types.defs: Remove int. * tests/good/complex-types.defs: Use byte instead of char. * tests/good/directions: Remove char and int. * tests/good/types.defs: Remove char and also use short as a parameter in 'alltypes'. * type.c: Define itCIntTypeDecl. Remove itMakeIntType. Call itInsert for char, short and int. Message-Id: <20160419070513.GA12642@debian>
Diffstat (limited to 'tests/good/directions.defs')
-rw-r--r--tests/good/directions.defs3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/good/directions.defs b/tests/good/directions.defs
index 37c5767..daae678 100644
--- a/tests/good/directions.defs
+++ b/tests/good/directions.defs
@@ -19,9 +19,6 @@
/* Tests arguments with different directions. */
subsystem directions 100;
-type char = MACH_MSG_TYPE_BYTE;
-type int = MACH_MSG_TYPE_INTEGER_32;
-
type mach_port_t = MACH_MSG_TYPE_COPY_SEND;
type mach_port_array_t = array[] of mach_port_t;