My monster, it not only compiles, it now runs!
This commit is contained in:
parent
60921be3d4
commit
a8b4a6e69d
26 changed files with 244 additions and 172 deletions
|
|
@ -23,14 +23,14 @@ bool environment_initialised = false;
|
|||
* @param node theindex of the node we are initialising.
|
||||
* @return struct pso_pointer t on success, else an exception.
|
||||
*/
|
||||
|
||||
struct pso_pointer initialise_environment( uint32_t node) {
|
||||
|
||||
struct pso_pointer initialise_environment( uint32_t node ) {
|
||||
struct pso_pointer result = t;
|
||||
if (environment_initialised) {
|
||||
if ( environment_initialised ) {
|
||||
// TODO: throw an exception "Attempt to reinitialise environment"
|
||||
} else {
|
||||
// TODO: actually initialise it.
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue