My monster, it not only compiles, it now runs!

This commit is contained in:
Simon Brooke 2026-03-30 11:52:41 +01:00
parent 60921be3d4
commit a8b4a6e69d
26 changed files with 244 additions and 172 deletions

View file

@ -1,13 +1,21 @@
/**
* payloads/exception.c
*
* An exception; required three pointers, so use object of size class 3.
*
* (c) 2026 Simon Brooke <simon@journeyman.cc>
* Licensed under GPL version 2.0, or, at your option, any later version.
*/
#import "memory/pointer.h"
#import "memory/pso.h"
#import "payloads/exception.h"
#include "memory/pointer.h"
#include "memory/pso.h"
#include "payloads/exception.h"
/**
* @param p a pointer to an object.
* @return true if that object is an exception, else false.
*/
bool exceptionp( struct pso_pointer p) {
return (get_tag_value( p) == EXCEPTIONTV);
bool exceptionp( struct pso_pointer p ) {
return ( get_tag_value( p ) == EXCEPTIONTV );
}