Pass QEmacsState pointer to all module_init and module_exit functions (#24)

This commit is contained in:
Charlie Gordon 2024-05-19 19:15:08 +02:00 • committed by GitHub
commit a388a95305
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
88 changed files with 153 additions and 133 deletions

View file

@ -359,7 +359,7 @@ static ModeDef bazel_mode = {
.colorize_flags = PYTHON_BAZEL,
};
static int python_init(void)
static int python_init(QEmacsState *qs)
{
qe_register_mode(&python_mode, MODEF_SYNTAX);
qe_register_mode(&rapydscript_mode, MODEF_SYNTAX);