Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
cs3-25sp
project01
Commits
a2e4d69c
Commit
a2e4d69c
authored
2 months ago
by
Maxwell F. (Max) Chen
Browse files
Options
Download
Email Patches
Plain Diff
formatting
parent
42c9c5eb
master
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/vec_list.h
+1
-1
include/vec_list.h
include/vector.h
+2
-2
include/vector.h
with
3 additions
and
3 deletions
+3
-3
include/vec_list.h
View file @
a2e4d69c
#ifndef __VEC_LIST_H__
#ifndef __VEC_LIST_H__
#define __VEC_LIST_H__
#define __VEC_LIST_H__
#include <stddef.h>
#include "vector.h"
#include "vector.h"
#include <stddef.h>
/**
/**
* A growable array of vectors, stored as pointers to malloc()ed vectors.
* A growable array of vectors, stored as pointers to malloc()ed vectors.
...
...
This diff is collapsed.
Click to expand it.
include/vector.h
View file @
a2e4d69c
...
@@ -7,8 +7,8 @@
...
@@ -7,8 +7,8 @@
* vector_t is defined here instead of vector.c because it is passed *by value*.
* vector_t is defined here instead of vector.c because it is passed *by value*.
*/
*/
typedef
struct
{
typedef
struct
{
double
x
;
double
x
;
double
y
;
double
y
;
}
vector_t
;
}
vector_t
;
/**
/**
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help