post-scarcity/archive/c/memory/cursor.h

27 lines
614 B
C
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* cursor.h
*
* Declarations common to all cons space objects.
*
*
* (c) 2017 Simon Brooke <simon@journeyman.cc>
* Licensed under GPL version 2.0, or, at your option, any later version.
*/
#ifndef __cursor_h
#define __cursor_h
/**
* A cursor cell: 1397904707
*/
#define CURSORTAG "CURS"
#define CURSORTV 1397904707
/*
* there are two ways the cursor payload could be defined. One is that it
* could hold a `cons_pointer` that points to the canonical `VECP` cell
* that points to the `vector_space_object`; the other is that it could
* hold a `struct vector_space_object`
#endif