Where Online Learning is simpler!
The C and C++ Include Header Files
cat -n /usr/include/wabt/opcode-code-table.h
1 /* 2 * Copyright 2018 WebAssembly Community Group participants 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 #ifndef WABT_OPCODE_CODE_TABLE_H_ 18 #define WABT_OPCODE_CODE_TABLE_H_ 19 20 #include <stdint.h> 21 #include <stdlib.h> 22 23 #ifdef __cplusplus 24 extern "C" { 25 #endif 26 27 #define WABT_OPCODE_CODE_TABLE_SIZE 131072 28 29 /* 30 * Number of bits required to store an opcode 31 */ 32 #define MAX_OPCODE_BITS 9 33 34 /* This structure is defined in C because C++ doesn't (yet) allow you to use 35 * designated array initializers, i.e. [10] = {foo}. 36 */ 37 extern uint32_t WabtOpcodeCodeTable[WABT_OPCODE_CODE_TABLE_SIZE]; 38 39 #ifdef __cplusplus 40 } /* extern "C" */ 41 #endif 42 43 #endif /* WABT_OPCODE_CODE_TABLE_H_ */