Merge pull request #41 from xTVaser/pragma-once

Add #pragma once to all header files
This commit is contained in:
water111
2020-09-14 20:31:41 -04:00
committed by GitHub
111 changed files with 238 additions and 3 deletions
+2
View File
@@ -1,3 +1,5 @@
#pragma once
/*!
* @file common_types.h
* Common Integer Types.
+2
View File
@@ -1,3 +1,5 @@
#pragma once
#ifdef __linux
#include <sys/socket.h>
#include <netinet/tcp.h>
+2
View File
@@ -1,3 +1,5 @@
#pragma once
#ifndef JAK_GOAL_CONSTANTS_H
#define JAK_GOAL_CONSTANTS_H
+2
View File
@@ -1,3 +1,5 @@
#pragma once
/*!
* @file link_types.h
* Types used in the linking data, shared between the object file generator and the kernel's linker.
+2
View File
@@ -1,3 +1,5 @@
#pragma once
/*!
* @file listener_common.h
* Common types shared between the compiler and the runtime for the listener connection.
+2
View File
@@ -1,3 +1,5 @@
#pragma once
/*!
* @file symbols.h
* The location of fixed symbols in the GOAL symbol table.
+2
View File
@@ -1,3 +1,5 @@
#pragma once
#ifndef JAK_TYPE_H
#define JAK_TYPE_H
+2
View File
@@ -1,3 +1,5 @@
#pragma once
/*!
* @file TypeSpec.h
*/
+2
View File
@@ -1,3 +1,5 @@
#pragma once
#ifndef JAK_TYPESYSTEM_H
#define JAK_TYPESYSTEM_H
+2
View File
@@ -1,3 +1,5 @@
#pragma once
#ifndef JAK_TYPE_UTIL_H
#define JAK_TYPE_UTIL_H
+2
View File
@@ -1,3 +1,5 @@
#pragma once
#ifndef JAK_V2_BINARYREADER_H
#define JAK_V2_BINARYREADER_H
+2
View File
@@ -1,3 +1,5 @@
#pragma once
#ifndef JAK_BINARYWRITER_H
#define JAK_BINARYWRITER_H
+2
View File
@@ -1,3 +1,5 @@
#pragma once
#ifndef JAK_DGOWRITER_H
#define JAK_DGOWRITER_H
+2
View File
@@ -1,3 +1,5 @@
#pragma once
#ifndef JAK1_MATCHPARAM_H
#define JAK1_MATCHPARAM_H
+2
View File
@@ -1,3 +1,5 @@
#pragma once
#ifndef JAK_V2_TIMER_H
#define JAK_V2_TIMER_H
+2
View File
@@ -1,3 +1,5 @@
#pragma once
/*!
* @file versions.h
* Version numbers for GOAL Language, Kernel, etc...
+2
View File
@@ -1,3 +1,5 @@
#pragma once
/*!
* @file Instruction.h
* An EE instruction, represented as an operation, plus a list of source/destination atoms.
+2
View File
@@ -1,3 +1,5 @@
#pragma once
/*!
* @file InstructionDecode.h
* The Instruction Decoder - converts a LinkedWord into a Instruction.
+2
View File
@@ -1,3 +1,5 @@
#pragma once
#ifndef JAK_DISASSEMBLER_INSTRUCTIONMATCHING_H
#define JAK_DISASSEMBLER_INSTRUCTIONMATCHING_H
+2
View File
@@ -1,3 +1,5 @@
#pragma once
/*!
* @file OpcodeInfo.h
* Decoding info for each opcode.
+2
View File
@@ -1,3 +1,5 @@
#pragma once
/*!
* @file Register.h
* Representation of an EE register.
+2
View File
@@ -1,3 +1,5 @@
#pragma once
#ifndef JAK_DISASSEMBLER_BASICBLOCKS_H
#define JAK_DISASSEMBLER_BASICBLOCKS_H
+2
View File
@@ -1,3 +1,5 @@
#pragma once
#ifndef JAK_DISASSEMBLER_CFGVTX_H
#define JAK_DISASSEMBLER_CFGVTX_H
+2
View File
@@ -1,3 +1,5 @@
#pragma once
#ifndef NEXT_FUNCTION_H
#define NEXT_FUNCTION_H
+2
View File
@@ -1,3 +1,5 @@
#pragma once
/*!
* @file LinkedObjectFile.h
* An object file's data with linking information included.
@@ -1,3 +1,5 @@
#pragma once
/*!
* @file LinkedObjectFileCreation.h
* Create a LinkedObjectFile from raw object file data.
+2
View File
@@ -1,3 +1,5 @@
#pragma once
/*!
* @file LinkedWord.h
* A word (4 bytes), possibly with some linking info.
+2
View File
@@ -1,3 +1,5 @@
#pragma once
/*!
* @file ObjectFileDB.h
* A "database" of object files found in DGO files.
+2
View File
@@ -1,3 +1,5 @@
#pragma once
#ifndef JAK_DISASSEMBLER_GOALFUNCTION_H
#define JAK_DISASSEMBLER_GOALFUNCTION_H
+2
View File
@@ -1,3 +1,5 @@
#pragma once
#ifndef JAK_DISASSEMBLER_GOALSYMBOL_H
#define JAK_DISASSEMBLER_GOALSYMBOL_H
+2
View File
@@ -1,3 +1,5 @@
#pragma once
#ifndef JAK_DISASSEMBLER_GOALTYPE_H
#define JAK_DISASSEMBLER_GOALTYPE_H
+2
View File
@@ -1,3 +1,5 @@
#pragma once
#ifndef JAK_DISASSEMBLER_TYPEINFO_H
#define JAK_DISASSEMBLER_TYPEINFO_H
+2
View File
@@ -1,3 +1,5 @@
#pragma once
#ifndef JAK_DISASSEMBLER_TYPESPEC_H
#define JAK_DISASSEMBLER_TYPESPEC_H
+2
View File
@@ -1,3 +1,5 @@
#pragma once
#ifndef JAK2_DISASSEMBLER_CONFIG_H
#define JAK2_DISASSEMBLER_CONFIG_H
+2
View File
@@ -1,3 +1,5 @@
#pragma once
#ifndef JAK_V2_FILEIO_H
#define JAK_V2_FILEIO_H
+2
View File
@@ -1,3 +1,5 @@
#pragma once
#ifndef JAK2_DISASSEMBLER_LISPPRINT_H
#define JAK2_DISASSEMBLER_LISPPRINT_H
+2
View File
@@ -1,3 +1,5 @@
#pragma once
/*!
* @file dgo_rpc_types.h
* Types used for the DGO Remote Procedure Call between the EE and the IOP
+2
View File
@@ -1,3 +1,5 @@
#pragma once
/*!
* @file loader_rpc_types.h
* Types used for the Loader Remote Procedure Call between the EE and the IOP
+2
View File
@@ -1,3 +1,5 @@
#pragma once
/*!
* @file play_rpc_types.h
* Types used for the play Remote Procedure Call between the EE and the IOP.
+2
View File
@@ -1,3 +1,5 @@
#pragma once
/*!
* @file player_rpc_types.h
* Types used for the player Remote Procedure Call between the EE and the IOP.
+2
View File
@@ -1,3 +1,5 @@
#pragma once
/*!
* @file ramdisk_rpc_types.h
* Types used for the RamDisk Remote Procedure Call between the EE and the IOP
+2
View File
@@ -1,3 +1,5 @@
#pragma once
/*!
* @file Ptr.h
* Representation of a GOAL pointer which can be converted to/from a C pointer.
+2
View File
@@ -1,3 +1,5 @@
#pragma once
/*!
* @file fileio.h
* GOAL Low-Level File I/O and String Utilities
+2
View File
@@ -1,3 +1,5 @@
#pragma once
/*!
* @file kboot.h
* GOAL Boot. Contains the "main" function to launch GOAL runtime.
+2
View File
@@ -1,3 +1,5 @@
#pragma once
/*!
* @file kdgo.h
* Loading DGO Files. Also has some general SIF RPC stuff used for RPCs other than DGO loading.
+2
View File
@@ -1,3 +1,5 @@
#pragma once
/*!
* @file kdsnetm.h
* Low-level DECI2 wrapper for ksocket
+2
View File
@@ -1,3 +1,5 @@
#pragma once
/*!
* @file klink.cpp
* GOAL Linker for x86-64
+2
View File
@@ -1,3 +1,5 @@
#pragma once
/*!
* @file klisten.h
* Implementation of the Listener protocol
+2
View File
@@ -1,3 +1,5 @@
#pragma once
/*!
* @file kmachine.h
* GOAL Machine. Contains low-level hardware interfaces for GOAL.
+2
View File
@@ -1,3 +1,5 @@
#pragma once
/*!
* @file kmalloc.h
* GOAL Kernel memory allocator.
+2
View File
@@ -1,3 +1,5 @@
#pragma once
/*!
* @file kmemcard.h
* Memory card interface. Very messy code.
+2
View File
@@ -1,3 +1,5 @@
#pragma once
/*!
* @file kprint.h
* GOAL Print. Contains GOAL I/O, Print, Format...
+2
View File
@@ -1,3 +1,5 @@
#pragma once
/*!
* @file kscheme.h
* Implementation of GOAL runtime.
+2
View File
@@ -1,3 +1,5 @@
#pragma once
/*!
* @file ksocket.h
* GOAL Socket connection to listener using DECI2/DSNET
+2
View File
@@ -1,3 +1,5 @@
#pragma once
/*!
* @file ksound.h
* There's not much here. My guess is this was set up as framework to match the kmachine.cpp format,
+2
View File
@@ -1,3 +1,5 @@
#pragma once
/*!
* @file dma.h
* DMA Related functions for Overlord.
+2
View File
@@ -1,3 +1,5 @@
#pragma once
/*!
* @file fake_iso.h
* This provides an implementation of IsoFs for reading a "fake iso".
+2
View File
@@ -1,3 +1,5 @@
#pragma once
/*!
* @file iso.h
* CD/DVD Reading.
+2
View File
@@ -1,3 +1,5 @@
#pragma once
#ifndef JAK_V2_ISO_API_H
#define JAK_V2_ISO_API_H
#include "isocommon.h"
+2
View File
@@ -1,3 +1,5 @@
#pragma once
/*!
* @file iso_cd.cpp
* IsoFs API for accessing the CD/DVD drive.
+2
View File
@@ -1,3 +1,5 @@
#pragma once
#ifndef JAK_V2_ISO_QUEUE_H
#define JAK_V2_ISO_QUEUE_H
+2
View File
@@ -1,3 +1,5 @@
#pragma once
/*!
* @file isocommon.h
* Common ISO utilities.
+2
View File
@@ -1,3 +1,5 @@
#pragma once
#ifndef JAK_V2_OVERLORD_H
#define JAK_V2_OVERLORD_H
+2
View File
@@ -1,3 +1,5 @@
#pragma once
/*!
* @file ramdisk.cpp
* A RAMDISK RPC for storing files in the extra RAM left over on the IOP.
+2
View File
@@ -1,3 +1,5 @@
#pragma once
#ifndef JAK_V2_SBANK_H
#define JAK_V2_SBANK_H
+2
View File
@@ -1,3 +1,5 @@
#pragma once
#ifndef JAK_V2_SOUNDCOMMON_H
#define JAK_V2_SOUNDCOMMON_H
+2
View File
@@ -1,3 +1,5 @@
#pragma once
#ifndef JAK_V2_SRPC_H
#define JAK_V2_SRPC_H
+2
View File
@@ -1,3 +1,5 @@
#pragma once
#ifndef JAK_V2_SSOUND_H
#define JAK_V2_SSOUND_H
+2
View File
@@ -1,3 +1,5 @@
#pragma once
#ifndef JAK_V2_STREAM_H
#define JAK_V2_STREAM_H
+2
View File
@@ -1,3 +1,5 @@
#pragma once
/*!
* @file runtime.h
* Setup and launcher for the runtime.
+2
View File
@@ -1,3 +1,5 @@
#pragma once
/*!
* @file deci2.h
* Implementation of SCE DECI2 library.
+2
View File
@@ -1,3 +1,5 @@
#pragma once
#ifndef JAK1_IOP_H
#define JAK1_IOP_H
+2
View File
@@ -1,3 +1,5 @@
#pragma once
/*!
* @file libcdvd_ee.h
* Stub implementation of the EE CD/DVD library
+2
View File
@@ -1,3 +1,5 @@
#pragma once
#ifndef JAK1_LIBSCF_H
#define JAK1_LIBSCF_H
+2
View File
@@ -1,3 +1,5 @@
#pragma once
#ifndef JAK1_SIF_EE_H
#define JAK1_SIF_EE_H
+2
View File
@@ -1,3 +1,5 @@
#pragma once
#ifndef JAK1_STUBS_H
#define JAK1_STUBS_H
+2
View File
@@ -1,3 +1,5 @@
#pragma once
/*!
* @file Deci2Server.h
* Basic implementation of a DECI2 server.
+2
View File
@@ -1,3 +1,5 @@
#pragma once
#ifndef JAK_IOP_KERNEL_H
#define JAK_IOP_KERNEL_H
+2
View File
@@ -1,3 +1,5 @@
#pragma once
/*!
* @file SystemThread.h
* Threads for the runtime.
+2
View File
@@ -1,3 +1,5 @@
#pragma once
#ifndef RUNTIME_TIMER_H
#define RUNTIME_TIMER_H
+2
View File
@@ -1,3 +1,5 @@
#pragma once
#ifndef JAK_DECIM_COMMON_H
#define JAK_DECIM_COMMON_H
#include "common/common_types.h"
+2
View File
@@ -1,3 +1,5 @@
#pragma once
#ifndef JAK1_IOP_THREAD_H
#define JAK1_IOP_THREAD_H
+1 -1
View File
@@ -1,4 +1,4 @@
#pragma once
#ifndef JAK_CODEGENERATOR_H
#define JAK_CODEGENERATOR_H
+2
View File
@@ -1,3 +1,5 @@
#pragma once
#ifndef JAK_COMPILER_H
#define JAK_COMPILER_H
+2
View File
@@ -1,3 +1,5 @@
#pragma once
#ifndef JAK_COMPILERSETTINGS_H
#define JAK_COMPILERSETTINGS_H
+2
View File
@@ -1,3 +1,5 @@
#pragma once
/*!
* @file Env.h
* The Env tree. The stores all of the nested scopes/contexts during compilation and also
+2
View File
@@ -1,3 +1,5 @@
#pragma once
#ifndef JAK_IR_H
#define JAK_IR_H
+2
View File
@@ -1,3 +1,5 @@
#pragma once
#ifndef JAK_LABEL_H
#define JAK_LABEL_H
+2
View File
@@ -1,3 +1,5 @@
#pragma once
#ifndef JAK_LAMBDA_H
#define JAK_LAMBDA_H
+2
View File
@@ -1,3 +1,5 @@
#pragma once
#ifndef JAK_STATICOBJECT_H
#define JAK_STATICOBJECT_H
+2
View File
@@ -1,3 +1,5 @@
#pragma once
/*!
* @file Val.h
* The GOAL Value. A value represents a place (where the value is stored) and a type.
+2
View File
@@ -1,3 +1,5 @@
#pragma once
/*!
* @file CodeTester.h
* The CodeTester is a utility to run the output of the compiler as part of a unit test.
+2
View File
@@ -1,3 +1,5 @@
#pragma once
#ifndef JAK_IGEN_H
#define JAK_IGEN_H
+2
View File
@@ -1,3 +1,5 @@
#pragma once
#ifndef JAK_INSTRUCTION_H
#define JAK_INSTRUCTION_H
+2
View File
@@ -1,3 +1,5 @@
#pragma once
#ifndef JAK_OBJECTFILEDATA_H
#define JAK_OBJECTFILEDATA_H
+2
View File
@@ -1,3 +1,5 @@
#pragma once
#ifndef JAK_OBJECTGENERATOR_H
#define JAK_OBJECTGENERATOR_H
+2
View File
@@ -1,3 +1,5 @@
#pragma once
/*!
* @file Register.h
* Representation of an x86-64 Register.
+2
View File
@@ -1,3 +1,5 @@
#pragma once
/*!
* @file Interpreter.h
* The GOOS Interpreter
+2
View File
@@ -1,3 +1,5 @@
#pragma once
/*!
* @file Object.h
* An "Object" represents a scheme object.
+2
View File
@@ -1,3 +1,5 @@
#pragma once
/*!
* @file Reader.h
*

Some files were not shown because too many files have changed in this diff Show More