Commit Graph

4 Commits

Author SHA1 Message Date
David Anderson f03ee95bf4 Use 'enum' instead of int/#define for PREEMPT_TYPE and SCHEDULER_STATE.
In theory we should do this for everything like this;
it provides some type checking and prevents passing the wrong type of value
(though I don't recall this ever happening).

Note: you can't parse_int() directly into an enum.
You have to parse into an int, then cast to enum.

Note 2: there's some funky perl code that scrapes common_defs.h
for #defines and makes them into python variables.
I think we can get rid of this.

Also added some comments.
No functional changes.
2023-09-16 12:51:04 -07:00
David Anderson 6bc55040f0 - server: Use distutils for installing the python modules,
and move files not part of the BOINC package from py/Boinc to py/
    From Gabor Gombas.

svn path=/trunk/boinc/; revision=18375
2009-06-11 16:01:36 +00:00
Karl Chen 306e9d33bb moved py/* -> py/Boinc/*
svn path=/trunk/boinc/; revision=2245
2003-09-04 03:19:59 +00:00
Karl Chen e840468a1b test cases and make_project
svn path=/trunk/boinc/; revision=1734
2003-07-18 21:43:12 +00:00