Skip to content

feat: issue#3 #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,10 @@ SQ = $(MAIN)/StaticQueue
DQ = $(MAIN)/DynamicQueue
MAT = $(MAIN)/Matrix
UWG1 = $(MAIN)/UndirectedWeightedGraph1
UWG2 = $(MAIN)/UndirectedWeightedGraph2
#--NEW_DS_DIR
EH = $(HELPERS)/ExceptionHandler
N = $(HELPERS)/Node
V = $(HELPERS)/Vertex
E = $(HELPERS)/Edge
#--NEW_HELPER_DIR

APP = LIBDS
Expand Down Expand Up @@ -43,13 +41,11 @@ ED7 = static_queue
ED8 = dynamic_queue
ED9 = matrix
ED10 = undirected_weighted_graph1
ED11 = undirected_weighted_graph2
#--ADD_NEW_DS
#DS12
H1 = exception_handler
H2 = node
H3 = vertex
H4 = edge
#--ADD_NEW_HELPER
#H5

Expand Down Expand Up @@ -79,8 +75,6 @@ LIBS = -l$(LIB_NAME) -L $(LIB)
cp $(EH)/$(MAIN)/$(SRC)/$(H1).c $(APP)/$(AUX)/$(SRC)
cp $(N)/$(MAIN)/$(SRC)/$(H2).c $(APP)/$(AUX)/$(SRC)
cp $(V)/$(MAIN)/$(SRC)/$(H3).c $(APP)/$(AUX)/$(SRC)
cp $(UWG2)/$(MAIN)/$(SRC)/$(ED11).c $(APP)/$(AUX)/$(SRC)
cp $(E)/$(HELPERS)/$(SRC)/$(H4).c $(APP)/$(AUX)/$(SRC)
#--GET_SRC

--private-get_headers:
Expand All @@ -97,8 +91,6 @@ LIBS = -l$(LIB_NAME) -L $(LIB)
cp $(EH)/$(MAIN)/$(INCLUDE)/$(H1).h $(APP)/$(INCLUDE)
cp $(N)/$(MAIN)/$(INCLUDE)/$(H2).h $(APP)/$(INCLUDE)
cp $(V)/$(MAIN)/$(INCLUDE)/$(H3).h $(APP)/$(INCLUDE)
cp $(UWG2)/$(MAIN)/$(INCLUDE)/$(ED11).h $(APP)/$(INCLUDE)
cp $(E)/$(HELPERS)/$(INCLUDE)/$(H4).h $(APP)/$(INCLUDE)
#--GET_H

--private-get_eds: --private-create_lib --private-get_srcs --private-get_headers
Expand Down Expand Up @@ -130,8 +122,6 @@ compile: $(APP)/$(AUX)/$(OBJ)/$(ED1).o \
$(APP)/$(AUX)/$(OBJ)/$(H1).o \
$(APP)/$(AUX)/$(OBJ)/$(H2).o \
$(APP)/$(AUX)/$(OBJ)/$(H3).o \
$(APP)/$(AUX)/$(OBJ)/$(ED11).o \
$(APP)/$(AUX)/$(OBJ)/$(H4).o \
#--ADD_TO_COMPILE
ar -rcs $(APP)/$(LIB)/lib$(LIB_NAME).a $(APP)/$(AUX)/$(OBJ)/*.o
rm -rf $(APP)/$(AUX)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ bool UndirectedWeightedGraph1_is_full(void *uwg) {

bool UndirectedWeightedGraph1_insert_vertex(UndirectedWeightedGraph1 *uwg, void *data) {
if (anyThrows(
4,
3,
ExceptionHandler_is_null("UndirectedWeightedGraph1_insert_vertex", "Undirected Weighted Graph", (void *) uwg, __SUPPRESS_PRINT_ERROR__),
ExceptionHandler_is_null("UndirectedWeightedGraph1_insert_vertex", "Data", data, __SUPPRESS_PRINT_ERROR__),
ExceptionHandler_is_full("UndirectedWeightedGraph1_insert_vertex", "Undirected Weighted Graph", (void *) uwg, UndirectedWeightedGraph1_is_full, __SUPPRESS_PRINT_ERROR__)
Expand Down
4 changes: 0 additions & 4 deletions main/UndirectedWeightedGraph2/.info

This file was deleted.

128 changes: 0 additions & 128 deletions main/UndirectedWeightedGraph2/Makefile

This file was deleted.

This file was deleted.

This file was deleted.

Loading
Loading