Add the "created" parameter to workspace_get.
If created is not NULL, *created is set to whether or not the workspace has been just created.
This commit is contained in:
committed by
Michael Stapelberg
parent
b8a716c370
commit
b4e3dfd76b
@ -22,8 +22,11 @@
|
||||
* creating the workspace if necessary (by allocating the necessary amount of
|
||||
* memory and initializing the data structures correctly).
|
||||
*
|
||||
* If created is not NULL, *created will be set to whether or not the
|
||||
* workspace has just been created.
|
||||
*
|
||||
*/
|
||||
Con *workspace_get(const char *num);
|
||||
Con *workspace_get(const char *num, bool *created);
|
||||
|
||||
#if 0
|
||||
/**
|
||||
|
Reference in New Issue
Block a user