-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmemory.llh
More file actions
28 lines (21 loc) · 722 Bytes
/
Copy pathmemory.llh
File metadata and controls
28 lines (21 loc) · 722 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef MEMORY_LLH
#define MEMORY_LLH
;**********************************************************************
; memory.llh
;
; Public declarations for the memory module.
;
; Copyright 2009-2010 by Dustin Laurence. Distributed under the terms of
; the LGPLv3.
;
;**********************************************************************
#include "system.llh"
#include "exp.llh"
declare NILCC i1 @Aligned(i8* %ptr)
declare NILCC i8* @NewMemory(%c_size_t %size)
; String uniqueifying
declare NILCC %Exp @Strings()
declare NILCC %c_char* @UniqueString(%c_char* %string)
declare NILCC void @PushString(%c_char* %string)
declare NILCC %c_char* @FindString(%c_char* %searchString)
#endif