line encoding

This commit is contained in:
Volker Berlin 2017-04-11 17:45:36 +02:00
parent 1438d8a988
commit 01afea0f0b

View File

@ -1,34 +1,34 @@
/* /*
* Copyright 2017 Volker Berlin (i-net software) * Copyright 2017 Volker Berlin (i-net software)
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package de.inetsoftware.jwebassembly.binary; package de.inetsoftware.jwebassembly.binary;
/** /**
* @author Volker Berlin * @author Volker Berlin
*/ */
enum SectionType { enum SectionType {
Custom, // 0 Custom, // 0
Type, // 1 Function signature declarations Type, // 1 Function signature declarations
Import, // 2 Import declarations Import, // 2 Import declarations
Function, // 3 Function declarations Function, // 3 Function declarations
Table, // 4 Indirect function table and other tables Table, // 4 Indirect function table and other tables
Memory, // 5 Memory attributes Memory, // 5 Memory attributes
Global, // 6 Global declarations Global, // 6 Global declarations
Export, // 7 Exports Export, // 7 Exports
Start, // 8 Start function declaration Start, // 8 Start function declaration
Element, // 9 Elements section Element, // 9 Elements section
Code, // 10 Function bodies (code) Code, // 10 Function bodies (code)
Data, // 11 Data segments Data, // 11 Data segments
} }