Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split UNDEFINED into UNINITIALIZED and UNSPECIFIED.
- Loading branch information
Showing
19 changed files
with
125 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#ifndef OBJ_UNINIT_INCLUDED | ||
#define OBJ_UNINIT_INCLUDED | ||
|
||
#include "obj.h" | ||
|
||
#define UNINITIALIZED_REPR L"#<uninitialized>" | ||
|
||
static inline obj_t make_uninitialized(void) | ||
{ | ||
return UNINITIALIZED_OBJ; | ||
} | ||
|
||
static inline bool is_uninitialized(obj_t obj) | ||
{ | ||
return obj == UNINITIALIZED_OBJ; | ||
} | ||
|
||
#endif /* !OBJ_UNINIT_INCLUDED */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#ifndef OBJ_UNSPEC_INCLUDED | ||
#define OBJ_UNSPEC_INCLUDED | ||
|
||
#include "obj.h" | ||
|
||
#define UNSPECIFIED_REPR L"#<unspecified>" | ||
|
||
static inline obj_t make_unspecified(void) | ||
{ | ||
return UNSPECIFIED_OBJ; | ||
} | ||
|
||
static inline bool is_unspecified(obj_t obj) | ||
{ | ||
return obj == UNSPECIFIED_OBJ; | ||
} | ||
|
||
#endif /* !OBJ_UNSPEC_INCLUDED */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.