[project] Lose the battle between tabs & spaces
I'm a tabs guy. I like tabs, it's an elegant way to represent indentation instead of brute-forcing it. But I have to admit that the world seems to be going towards spaces, and tooling tends not to play nice with tabs. So here we go, changing the whole repo to spaces since I'm getting tired of all the inconsistent formatting.
This commit is contained in:
committed by
Justin C. Miller
parent
d36b2d8057
commit
8f529046a9
@@ -11,31 +11,31 @@ j6_handle_t __handle_self = j6_handle_invalid;
|
||||
extern "C" void
|
||||
_get_init(size_t *initc, struct j6_init_value **initv)
|
||||
{
|
||||
if (!initc)
|
||||
return;
|
||||
if (!initc)
|
||||
return;
|
||||
|
||||
*initc = __initc;
|
||||
if (initv)
|
||||
*initv = __initv;
|
||||
*initc = __initc;
|
||||
if (initv)
|
||||
*initv = __initv;
|
||||
}
|
||||
|
||||
extern "C" void
|
||||
_init_libj6(uint64_t *rsp)
|
||||
{
|
||||
uint64_t argc = *rsp++;
|
||||
rsp += argc;
|
||||
uint64_t argc = *rsp++;
|
||||
rsp += argc;
|
||||
|
||||
__initc = *rsp++;
|
||||
__initv = (struct j6_init_value *)rsp;
|
||||
__initc = *rsp++;
|
||||
__initv = (struct j6_init_value *)rsp;
|
||||
|
||||
for (unsigned i = 0; i < __initc; ++i) {
|
||||
if (__initv[i].type == j6_init_handle_other &&
|
||||
__initv[i].handle.type == j6_object_type_system) {
|
||||
__handle_sys = __initv[i].handle.handle;
|
||||
}
|
||||
else if (__initv[i].type == j6_init_handle_self &&
|
||||
__initv[i].handle.type == j6_object_type_process) {
|
||||
__handle_self = __initv[i].handle.handle;
|
||||
}
|
||||
}
|
||||
for (unsigned i = 0; i < __initc; ++i) {
|
||||
if (__initv[i].type == j6_init_handle_other &&
|
||||
__initv[i].handle.type == j6_object_type_system) {
|
||||
__handle_sys = __initv[i].handle.handle;
|
||||
}
|
||||
else if (__initv[i].type == j6_init_handle_self &&
|
||||
__initv[i].handle.type == j6_object_type_process) {
|
||||
__handle_self = __initv[i].handle.handle;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user