mirror of
https://github.com/samsonjs/lake.git
synced 2026-03-25 08:55:49 +00:00
21 lines
No EOL
308 B
C
21 lines
No EOL
308 B
C
/**
|
|
* bool.h
|
|
* Lake Scheme
|
|
*
|
|
* Copyright 2011 Sami Samhuri
|
|
* MIT License
|
|
*
|
|
*/
|
|
|
|
#ifndef _LAKE_BOOL_H
|
|
#define _LAKE_BOOL_H 1
|
|
|
|
#include "lake.h"
|
|
|
|
LakeSym *bool_from_int(int b);
|
|
int is_true(LakeVal *val);
|
|
int is_false(LakeVal *val);
|
|
int is_truthy(LakeVal *val);
|
|
int is_falsy(LakeVal *val);
|
|
|
|
#endif |