Where Online Learning is simpler!
The C and C++ Include Header Files
cat -n /usr/include/wabt/validator.h
1 /* 2 * Copyright 2016 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_VALIDATOR_H_ 18 #define WABT_VALIDATOR_H_ 19 20 #include "wabt/error.h" 21 #include "wabt/feature.h" 22 #include "wabt/shared-validator.h" 23 24 namespace wabt { 25 26 struct Module; 27 struct Script; 28 29 // Perform all checks on the script. It is valid if and only if this function 30 // succeeds. 31 Result ValidateScript(const Script*, Errors*, const ValidateOptions&); 32 Result ValidateModule(const Module*, Errors*, const ValidateOptions&); 33 34 } // namespace wabt 35 36 #endif // WABT_VALIDATOR_H_