This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project gfxprim.git.
The branch, master has been updated via 48a02d9f6947b24c9b1ea70effaeee5191bf454a (commit) from 3e089f991eb2a1946964b6d42357db197d3be099 (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- http://repo.or.cz/w/gfxprim.git/commit/48a02d9f6947b24c9b1ea70effaeee5191bf4...
commit 48a02d9f6947b24c9b1ea70effaeee5191bf454a Author: BlueBear jiri.bluebear.dluhos@gmail.com Date: Sat May 21 21:07:56 2011 +0200
Separate directory for backends.
diff --git a/core/GP_Backend_SDL.c b/backends/GP_Backend_SDL.c similarity index 100% rename from core/GP_Backend_SDL.c rename to backends/GP_Backend_SDL.c diff --git a/core/GP_RetCode.c b/core/GP_RetCode.c index dd53d78..a4069c5 100644 --- a/core/GP_RetCode.c +++ b/core/GP_RetCode.c @@ -32,6 +32,7 @@ static char *ret_code_names[] = { "Not implemented", "Imprecise result", "Unexpected null pointer", + "No backend available", "Connection with backend lost", "Bad context", "Bad file", diff --git a/core/GP_RetCode.h b/core/GP_RetCode.h index 379f621..9241a26 100644 --- a/core/GP_RetCode.h +++ b/core/GP_RetCode.h @@ -32,7 +32,8 @@ typedef enum GP_RetCode { GP_ENOIMPL, GP_EUNPRECISE, GP_ENULLPTR, /* some argument was unexpectedly NULL */ - GP_EBACKENDLOST, + GP_ENOBACKEND, /* no backend available */ + GP_EBACKENDLOST, /* lost connection to the backend */ GP_EBADCONTEXT, /* context contains invalid data */ GP_EBADFILE, /* error in file, or bad file format */ GP_ENOENT, /* no such file or another object */ diff --git a/core/Makefile b/core/Makefile index 83ca598..b23dad4 100644 --- a/core/Makefile +++ b/core/Makefile @@ -1,9 +1,10 @@ +COREDIR=`pwd` LIBRARY=libGP_core -SOURCES=$(wildcard *.c) +SOURCES=$(wildcard *.c) $(wildcard ../backends/*.c) OBJECTS=$(SOURCES:.c=.o) -HEADERS=$(wildcard *.h) +HEADERS=$(wildcard *.h) $(wildcard ../backends/*.h) ALGORITHMS=$(wildcard ../algo/*.algo.h) -CFLAGS=-W -Wall -O2 -fPIC -I../ +CFLAGS=-W -Wall -O2 -fPIC -I$(COREDIR) -I$(COREDIR)/../
HEADER_LOC=/usr/include/ LIB_LOC=/usr/lib/ @@ -32,5 +33,6 @@ $(LIBRARY).so: $(OBJECTS) clean: rm -f $(LIBRARY).a $(LIBRARY).so $(LIBRARY).so.0 rm -f *.o + rm -f ../backends/*.o cd tests && $(MAKE) clean
-----------------------------------------------------------------------
Summary of changes: {core => backends}/GP_Backend_SDL.c | 0 core/GP_RetCode.c | 1 + core/GP_RetCode.h | 3 ++- core/Makefile | 8 +++++--- 4 files changed, 8 insertions(+), 4 deletions(-) rename {core => backends}/GP_Backend_SDL.c (100%)
repo.or.cz automatic notification. Contact project admin jiri.bluebear.dluhos@gmail.com if you want to unsubscribe, or site admin admin@repo.or.cz if you receive no reply.