Compare commits

..

4 Commits

Author SHA1 Message Date
Bigjango13
2390ef0247 Add map header 2024-02-01 18:35:55 -05:00
95e24d13fa More Fixes 2024-02-01 14:55:27 -05:00
5730267135 More Checks 2024-02-01 14:31:25 -05:00
059e572256 Support Array Properties 2024-01-31 22:12:12 -05:00
3 changed files with 4 additions and 4 deletions

View File

@ -157,4 +157,4 @@ export class Size {
isExact() { isExact() {
return this.#isExact; return this.#isExact;
} }
} }

View File

@ -230,4 +230,4 @@ function makeCompiledCode(output: string) {
result += declarations; result += declarations;
fs.writeFileSync(output, result); fs.writeFileSync(output, result);
} }
makeCompiledCode(sourceOutput); makeCompiledCode(sourceOutput);

View File

@ -1,4 +1,4 @@
import { POINTER_SIZE, toHex, getSizeMultiplierFromArrayData } from './common'; import { POINTER_SIZE, getSizeMultiplierFromArrayData } from './common';
import { getStructure } from './map'; import { getStructure } from './map';
export interface Property { export interface Property {
@ -147,4 +147,4 @@ export class StaticProperty {
generateMacro() { generateMacro() {
return `#define ${this.getName()} (${this.#isArray ? '' : '*'}${this.getName()}_pointer)\n`; return `#define ${this.getName()} (${this.#isArray ? '' : '*'}${this.getName()}_pointer)\n`;
} }
} }