Try out a representative sample of APIs from multiple libraries

This commit is contained in:
Andrew Johnson
2020-03-07 01:32:36 -06:00
parent 9e7fc1915b
commit 0cf38bfb29
21 changed files with 157 additions and 155 deletions
+4
View File
@@ -45,6 +45,10 @@ include $(LIBCOM)/timer/Makefile
include $(LIBCOM)/yacc/Makefile
include $(LIBCOM)/yajl/Makefile
# Generate library API header file
API_HEADER = libComAPI.h
Com_API = libCom
# Library to build:
LIBRARY=Com
-1
View File
@@ -19,7 +19,6 @@
#include <stdarg.h>
#include <assert.h>
#define epicsExportSharedSymbols
#include "yajl_parse.h"
#include "yajl_lex.h"
#include "yajl_parser.h"
-1
View File
@@ -22,7 +22,6 @@
#include <stdlib.h>
#define epicsExportSharedSymbols
#include "yajl_alloc.h"
static void * yajl_internal_malloc(void *ctx, size_t sz)
-1
View File
@@ -18,7 +18,6 @@
#include <stdlib.h>
#include <string.h>
#define epicsExportSharedSymbols
#include "yajl_buf.h"
#define YAJL_BUF_INIT_SIZE 2048
+2 -2
View File
@@ -18,7 +18,7 @@
#define __YAJL_COMMON_H__
#include <stddef.h>
#include <shareLib.h>
#include <libComAPI.h>
#include <epicsVersion.h>
@@ -42,7 +42,7 @@ extern "C" {
#define YAJL_MAX_DEPTH 128
#define YAJL_API epicsShareFunc
#define YAJL_API LIBCOM_API
/** pointer to a malloc function, supporting client overriding memory
* allocation routines */
-1
View File
@@ -19,7 +19,6 @@
#include <string.h>
#include <stdio.h>
#define epicsExportSharedSymbols
#include "yajl_encode.h"
static void CharToHex(unsigned char c, char * hexBuf)
-1
View File
@@ -19,7 +19,6 @@
#include <stdio.h>
#include <stdarg.h>
#define epicsExportSharedSymbols
#include "epicsMath.h"
#include "yajl_gen.h"
#include "yajl_buf.h"
-1
View File
@@ -19,7 +19,6 @@
#include <assert.h>
#include <string.h>
#define epicsExportSharedSymbols
#include "yajl_lex.h"
#include "yajl_buf.h"
-1
View File
@@ -23,7 +23,6 @@
#include <assert.h>
#include <math.h>
#define epicsExportSharedSymbols
#include "yajl_parse.h"
#include "yajl_lex.h"
#include "yajl_parser.h"