test commentation

Original commit message from CVS:
test commentation
This commit is contained in:
Thomas Vander Stichele 2002-09-23 06:03:17 +00:00
parent f12f450410
commit 1d9413fe2f
3 changed files with 13 additions and 4 deletions

View file

@ -1,8 +1,14 @@
noinst_PROGRAMS = test1 test2
if HAVE_NASM
TEST1=test1
else
TEST1=
endif
test1_SOURCES = test1.c gstbuffer.c gstmempool.c
noinst_PROGRAMS = $(TEST1) test2
test1_SOURCES = test1.c $(top_srcdir)/gst/gstbuffer.c gstmempool.c
EXTRA_DIST = gstbuffer.h gstmempool.h
LDADD = $(GST_LIBS)
AM_CFLAGS = $(GST_CFLAGS)
CFLAGS = $(GST_CFLAGS)

View file

@ -11,7 +11,9 @@
#define GST_MEM_POOL_DATA(pool) ((gpointer)(((GstMemPoolElement*)(pool)) + 1))
#define GST_MEM_POOL_LINK(mem) ((GstMemPoolElement*)((guint8*)(mem) - sizeof (GstMemPoolElement)))
#ifdef HAVE_NASM
#define USE_ASM
#endif
/*******************************************************
* area size

View file

@ -1,5 +1,6 @@
#include "gstbuffer.h"
#include <gst/gst.h>
#include "gst/gstbuffer.h"
#include "gst/gstbufferpool-default.h"
int
main (int argc, char *argv[])