Skip to content

Commit 097cf10

Browse files
Added some changes (Should work okay on mac now)
1 parent 39f220b commit 097cf10

File tree

34 files changed

+39
-36
lines changed

34 files changed

+39
-36
lines changed

examples/fileio_detect/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#include <string.h>
1212

1313
/* Shared library headers -- depends on which ones you wish to use */
14-
#include <lib/ce/fileioc.h>
14+
#include <libs/fileioc.h>
1515

1616
/* Function prototypes */
1717
void printText(int8_t xpos, int8_t ypos, const char *text);

examples/fileio_factorize/src/main.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
#include <string.h>
1212

1313
/* Shared library headers - depends on which ones you wish to use */
14-
#include <lib/ce/fileioc.h>
14+
#include <libs/fileioc.h>
1515

16-
void prime_factors(unsigned n);
16+
void prime_factors(unsigned int n);
1717

18-
int primes[24];
18+
int primes[512];
1919
int total_primes = 0;
2020

2121
/* Main Function */
@@ -46,8 +46,8 @@ void main(void) {
4646
}
4747

4848
/* Store to an array all the prime numbers */
49-
void prime_factors(unsigned n) {
50-
unsigned div, end;
49+
void prime_factors(unsigned int n) {
50+
unsigned int div, end;
5151

5252
while (!(n % 2)) {
5353
primes[total_primes++] = 2;

examples/fileio_os_vars/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#include <string.h>
1212

1313
/* Shared library headers - depends on which ones you wish to use */
14-
#include <lib/ce/fileioc.h>
14+
#include <libs/fileioc.h>
1515

1616
/* Some function prototypes. Maybe in the future these functions will become a library */
1717
cplx_t Int24sToCplx(int real, int imag);

examples/fileio_read_write/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#include <string.h>
1212

1313
/* Shared library headers -- depends on which ones you wish to use */
14-
#include <lib/ce/fileioc.h>
14+
#include <libs/fileioc.h>
1515

1616
/* Declare some strings and variables */
1717
const char nameAppVar[] = "AppVar";

examples/fileio_tokens/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#include <string.h>
1212

1313
/* Shared library headers -- depends on which ones you wish to use */
14-
#include <lib/ce/fileioc.h>
14+
#include <libs/fileioc.h>
1515

1616
/* Declare some strings and variables */
1717
const char prgmName[] = "ABC";

examples/gfx_buffered_cube/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#include <string.h>
1212

1313
/* Shared libraries */
14-
#include <lib/ce/graphx.h>
14+
#include <libs/graphx.h>
1515

1616
/* Put function prototypes here */
1717
void rotate(void);

examples/gfx_buffering/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#include <string.h>
1212

1313
/* Shared libraries */
14-
#include <lib/ce/graphx.h>
14+
#include <libs/graphx.h>
1515

1616
/*
1717
* This tutorial is meant to be played around with to get a feeling for how buffering works

examples/gfx_char/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#include <string.h>
1212

1313
/* Shared libraries */
14-
#include <lib/ce/graphx.h>
14+
#include <libs/graphx.h>
1515

1616
/* Use some random color as the transparent one */
1717
#define TRANSPARENT_COLOR 10

examples/gfx_clipping/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#include <string.h>
1212

1313
/* Shared libraries */
14-
#include <lib/ce/graphx.h>
14+
#include <libs/graphx.h>
1515

1616
/* Use some random color as the transparent one */
1717
#define TRANSPARENT_COLOR 10

examples/gfx_hello_world/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#include <string.h>
1212

1313
/* Shared libraries */
14-
#include <lib/ce/graphx.h>
14+
#include <libs/graphx.h>
1515

1616
#define FONT_HEIGHT 8
1717

0 commit comments

Comments
 (0)