Skip to content

Start using "job_handlerst_remove_job" function #5903

Description

@quietust

The function DFHack::Job::removeJob is currently calling the job_handler::cancel_job vmethod with some special hacks to work around GCC being too "clever".

The globals table has been providing us with a function named job_handlerst_remove_job for the past several years, so we should start using it.

We should also notify Toady that he can make that function non-virtual (and also the same for a bunch of other functions he made virtual for "modding hook" use, since those other ones are equally broken).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions