run clang-format

This commit is contained in:
Pheenoh
2020-12-26 11:31:49 -05:00
parent 64a6a97b7b
commit 4c504d078d
180 changed files with 4083 additions and 4253 deletions
+5 -10
View File
@@ -1,6 +1,6 @@
#include "SComponent/c_phase.h"
#include "f/f_pc/f_pc_load.h"
#include "SComponent/c_phase.h"
extern "C" {
@@ -8,25 +8,21 @@ extern int cDyl_IsLinked(short procName);
extern int cDyl_Unlink(short procName);
extern int cDyl_LinkASync(short procName);
bool fpcLd_Use(u16 procName)
{
bool fpcLd_Use(u16 procName) {
if (fpcLd_IsLoaded(procName) == true && fpcLd_Load(procName) == cPhs_COMPLEATE_e)
return true;
return false;
}
int fpcLd_IsLoaded(u16 procName)
{
int fpcLd_IsLoaded(u16 procName) {
return cDyl_IsLinked(procName);
}
void fpcLd_Free(u16 procName)
{
void fpcLd_Free(u16 procName) {
cDyl_Unlink(procName);
}
int fpcLd_Load(u16 procName)
{
int fpcLd_Load(u16 procName) {
int phase = cDyl_LinkASync(procName);
switch (phase) {
@@ -38,5 +34,4 @@ int fpcLd_Load(u16 procName)
return cPhs_ERROR_e;
}
}
};