Skip to content

Commit 47b6bb6

Browse files
committed
refactoring - move iterators to their own file
1 parent a939ef6 commit 47b6bb6

10 files changed

Lines changed: 718 additions & 683 deletions

File tree

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,7 @@ src/jswrap_waveform.c
410410
SOURCES = \
411411
src/jslex.c \
412412
src/jsvar.c \
413+
src/jsvariterator.c \
413414
src/jsutils.c \
414415
src/jsnative.c \
415416
src/jsparse.c \

libs/graphics/lcd_arraybuffer.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#include "jswrap_arraybuffer.h"
1515
#include "lcd_arraybuffer.h"
1616
#include "jsvar.h"
17+
#include "jsvariterator.h"
1718

1819
// returns the BIT index, so the bottom 3 bits specify the bit in the byte
1920
size_t lcdGetPixelIndex_ArrayBuffer(JsGraphics *gfx, int x, int y, int pixelCount) {

libs/math/jswrap_math.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
* ----------------------------------------------------------------------------
1515
*/
1616
#include "jswrap_math.h"
17+
#include "jsvariterator.h"
1718

1819
static bool isNegativeZero(double x) {
1920
double NEGATIVE_ZERO = -0.0;

libs/network/http/jswrap_http.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
* ----------------------------------------------------------------------------
1515
*/
1616
#include "jswrap_http.h"
17+
#include "jsvariterator.h"
1718
#include "httpserver.h"
1819
#include "../network.h"
1920

src/jslex.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
#include "jsutils.h"
1818
#include "jsvar.h"
19+
#include "jsvariterator.h"
1920

2021
typedef struct JslCharPos {
2122
JsvStringIterator it;

0 commit comments

Comments
 (0)