Add constructor comment
This commit is contained in:
parent
90ac0bbb99
commit
4549ddc570
|
@ -1,6 +1,10 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
/* #include <dlfcn.h> */
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* We need:
|
||||||
|
* __attribute__((constructor))
|
||||||
|
* To indicate that this function will be the entry point once injected.
|
||||||
|
*/
|
||||||
__attribute__((constructor)) void load(void) {
|
__attribute__((constructor)) void load(void) {
|
||||||
printf("hl-cheat loaded!\n");
|
printf("hl-cheat loaded!\n");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue