commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] MIG branch, master, updated. v1.8-23-g3902cb2


From: Samuel Thibault
Subject: [SCM] MIG branch, master, updated. v1.8-23-g3902cb2
Date: Sat, 5 Nov 2022 17:22:26 -0400 (EDT)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "MIG".

The branch, master has been updated
       via  3902cb2fcae6e2028252b5d2016bf0e99ed74980 (commit)
      from  68b3d8fe3a9595b7a5cb2bb6bc5973ba26139704 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 3902cb2fcae6e2028252b5d2016bf0e99ed74980
Author: Flavio Cruz <flaviocruz@gmail.com>
Date:   Fri Nov 4 01:29:37 2022 -0400

    Add support to define structures in mig.
    
    Basic syntax is presented below and allows users to define
    nested structured types by using simpler or structure types as
    members. Mig will use the C padding and alignment rules to produce
    the same size as the corresponding C structures.
    
    type timespec_t = struct {
      uint32_t tv_sec;
      uint32_t tv_nsec;
    };
    
    This allows us to build stubs that are more easily adaptable to other
    architectures.
    Message-Id: <Y2SjQSMOINY8I5Dy@viriathus>

-----------------------------------------------------------------------

Summary of changes:
 lexxer.l                      |  2 ++
 parser.y                      | 46 +++++++++++++++++++++++++-
 tests/good/complex-types.defs | 12 +++++++
 tests/includes/types.h        | 20 ++++++++++++
 type.c                        | 75 ++++++++++++++++++++++++++++++++++++++++---
 type.h                        |  4 ++-
 utils.h                       | 11 +++++++
 7 files changed, 163 insertions(+), 7 deletions(-)


hooks/post-receive
-- 
MIG



reply via email to

[Prev in Thread] Current Thread [Next in Thread]