straight-oyster-87301
01/24/2022, 9:42 PMstraight-oyster-87301
01/24/2022, 9:43 PMstraight-oyster-87301
01/24/2022, 9:45 PMstraight-oyster-87301
01/24/2022, 9:46 PMpowerful-morning-89
01/24/2022, 9:53 PMstraight-oyster-87301
01/24/2022, 9:54 PMstraight-oyster-87301
01/24/2022, 9:54 PMpowerful-morning-89
01/24/2022, 9:54 PMstraight-oyster-87301
01/24/2022, 9:55 PMpowerful-morning-89
01/24/2022, 9:56 PMstatic keyword makes the functions "local" the current translation unit, meaning that they won't be publicly available to consumers of the ndll.
(Or to other translation units.)straight-oyster-87301
01/24/2022, 9:57 PMpowerful-morning-89
01/24/2022, 9:57 PMstraight-oyster-87301
01/24/2022, 9:58 PMstraight-oyster-87301
01/24/2022, 9:58 PMstraight-oyster-87301
01/24/2022, 9:58 PMHL_PRIM void HL_NAME(init)(_NO_ARG)
{
systools_misc_initialize();
}
DEFINE_PRIM(_VOID, init, _NO_ARG);straight-oyster-87301
01/24/2022, 9:59 PMstraight-oyster-87301
01/24/2022, 9:59 PMpowerful-morning-89
01/24/2022, 9:59 PMfoo(); (or foo(void); for prototype declarations.)straight-oyster-87301
01/24/2022, 10:00 PMpowerful-morning-89
01/24/2022, 10:02 PMint foo(void) basically says "there exists a function somewhere that returns an int and takes no arguments".
One like int foo(int, int); says "there exists a function that returns an int, and takes two int arguments"
I believe there's a difference between int foo(int,int) and int foo(int a, int b), but I'm not really familiar with those details of C.straight-oyster-87301
01/24/2022, 10:10 PMstraight-oyster-87301
01/24/2022, 10:10 PMbright-gpu-74537
01/24/2022, 10:11 PMhl_to_utf8(somestring->bytes)straight-oyster-87301
01/24/2022, 10:12 PMbright-gpu-74537
01/24/2022, 10:13 PMbright-gpu-74537
01/24/2022, 10:14 PMstraight-oyster-87301
01/24/2022, 10:15 PMstraight-oyster-87301
01/24/2022, 10:15 PMstraight-oyster-87301
01/24/2022, 10:16 PMstraight-oyster-87301
01/24/2022, 10:18 PM