Emscripten now requires .a.
[SquirrelJME.git] / modules / cldc-compact / src / main / java / cc / squirreljme / jvm / pack / constants / ClassInfoConstants.java
blob693e78df40e7bf5eb3e99fc879065cd84d9644b5
1 // -*- Mode: Java; indent-tabs-mode: t; tab-width: 4 -*-
2 // ---------------------------------------------------------------------------
3 // Multi-Phasic Applications: SquirrelJME
4 // Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
5 // ---------------------------------------------------------------------------
6 // SquirrelJME is under the Mozilla Public License Version 2.0.
7 // See license.mkd for licensing and copyright information.
8 // ---------------------------------------------------------------------------
10 package cc.squirreljme.jvm.pack.constants;
12 /**
13 * Constants for class information.
15 * @since 2020/11/29
17 public interface ClassInfoConstants
19 /** Legacy class version from a long time ago. */
20 short CLASS_VERSION_LEGACY =
23 /** Class version from 2020/11/29. */
24 short CLASS_VERSION_20201129 =
27 /** Magic number for the end of file. */
28 int CLASS_END_MAGIC_NUMBER =
29 0x42796521;
31 /** The magic number for the header. */
32 int CLASS_MAGIC_NUMBER =
33 0x00586572;
35 /** The maximum header size. */
36 short CLASS_MAXIMUM_HEADER_SIZE =
37 8 + (StaticClassProperty.NUM_STATIC_PROPERTIES * 4);
39 /** The maximum size of a JAR header. */
40 int JAR_MAXIMUM_HEADER_SIZE =
41 8 + (JarProperty.NUM_JAR_PROPERTIES * 4);
43 /** The maximum size of a Pack header. */
44 int PACK_MAXIMUM_HEADER_SIZE =
45 8 + (PackProperty.NUM_PACK_PROPERTIES * 4);
47 /** Magic number for the JAR. */
48 int JAR_MAGIC_NUMBER =
49 0x00456570;
51 /** Magic number for the pack file. */
52 int PACK_MAGIC_NUMBER =
53 0x58455223;