001/**************************************************************************** 002 * Copyright/Copyleft: 003 * 004 * For this source the LGPL Lesser General Public License, 005 * published by the Free Software Foundation is valid. 006 * It means: 007 * 1) You can use this source without any restriction for any desired purpose. 008 * 2) You can redistribute copies of this source to everybody. 009 * 3) Every user of this source, also the user of redistribute copies 010 * with or without payment, must accept this license for further using. 011 * 4) But the LPGL is not appropriate for a whole software product, 012 * if this source is only a part of them. It means, the user 013 * must publish this part of source, 014 * but don't need to publish the whole source of the own product. 015 * 5) You can study and modify (improve) this source 016 * for own using or for redistribution, but you have to license the 017 * modified sources likewise under this LGPL Lesser General Public License. 018 * You mustn't delete this Copyright/Copyleft inscription in this source file. 019 * 020 * @author Hartmut Schorrig: hartmut.schorrig@vishia.de, www.vishia.org 021 * @version 0.93 2011-01-05 (year-month-day) 022 *******************************************************************************/ 023package org.vishia.java2C.test; 024 025 026 027/**This data structure contains the {@link SimpleDataStruct} as super class. 028 * In C the <code>struct</code> is defined as: 029 * <pre class="CCode"> 030 * typedef struct ExpandedDataStruct_Test_t 031 * { 032 * union { ExpandableDataStruct_Test_s super;} base; 033 * double e; 034 * double f; 035 * } ExpandedDataStruct_Test_s; 036 *</pre> 037 * The superclass is wrapped with an union, because the access is written anytime <code>ref.base.super</code>, 038 * but the <code>union</code> doesn't contain an element <code>ObjectJc object</code> here. That is 039 * because the base class in not based on ObjectJc. 040 */ 041public final class ExpandedDataStruct extends SimpleDataStruct 042{ 043 /**Some variables in the data class respectively <code>struct</code>. */ 044 double e,f; //// 045} 046