mirror of https://gerrit.osmocom.org/asn1c
extern "C" added
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@944 59561ff5-6e30-0410-9f3c-9617f08c8826
This commit is contained in:
parent
3a4175855e
commit
c1e72a99f3
|
@ -8,15 +8,19 @@
|
|||
#ifndef _ASN_INTERNAL_H_
|
||||
#define _ASN_INTERNAL_H_
|
||||
|
||||
#define ASN1C_ENVIRONMENT_VERSION 98 /* Compile-time version */
|
||||
int get_asn1c_environment_version(void); /* Run-time version */
|
||||
|
||||
#include <asn_application.h> /* Application-visible API */
|
||||
|
||||
#ifndef __NO_ASSERT_H__ /* Include assert.h only for internal use. */
|
||||
#include <assert.h> /* for assert() macro */
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define ASN1C_ENVIRONMENT_VERSION 98 /* Compile-time version */
|
||||
int get_asn1c_environment_version(void); /* Run-time version */
|
||||
|
||||
#define CALLOC(nmemb, size) calloc(nmemb, size)
|
||||
#define MALLOC(size) malloc(size)
|
||||
#define REALLOC(oldptr, size) realloc(oldptr, size)
|
||||
|
@ -76,4 +80,8 @@ static inline void ASN_DEBUG(const char *fmt, ...) { (void)fmt; }
|
|||
if(cb(" ", 4, app_key) < 0) return -1; \
|
||||
} while(0)
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _ASN_INTERNAL_H_ */
|
||||
|
|
Loading…
Reference in New Issue