dwww Home | Show directory contents | Find package

%module cpp11_alignment

%inline %{
struct A {
  int member;
};
const int align1 = alignof(int);
const int align2 = alignof(int *);
%}

%{
// alignas - not yet working
struct alignas(16) S {
  int num;
};
alignas(double) unsigned char c[sizeof(double)];
%}

Generated by dwww version 1.15 on Tue Jul 2 00:16:16 CEST 2024.