Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
asn1c
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
asn1c
Commits
b85507a1
Commit
b85507a1
authored
Mar 02, 2012
by
Lev Walkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more compact indentation spec
parent
e2c05bf2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
12 deletions
+7
-12
skeletons/asn_internal.h
skeletons/asn_internal.h
+7
-2
skeletons/per_opentype.c
skeletons/per_opentype.c
+0
-10
No files found.
skeletons/asn_internal.h
View file @
b85507a1
...
@@ -28,6 +28,9 @@ int get_asn1c_environment_version(void); /* Run-time version */
...
@@ -28,6 +28,9 @@ int get_asn1c_environment_version(void); /* Run-time version */
#define REALLOC(oldptr, size) realloc(oldptr, size)
#define REALLOC(oldptr, size) realloc(oldptr, size)
#define FREEMEM(ptr) free(ptr)
#define FREEMEM(ptr) free(ptr)
#define asn_debug_indent 0
#define ASN_DEBUG_INDENT_ADD(i) do{}while(0)
/*
/*
* A macro for debugging the ASN.1 internals.
* A macro for debugging the ASN.1 internals.
* You may enable or override it.
* You may enable or override it.
...
@@ -36,9 +39,11 @@ int get_asn1c_environment_version(void); /* Run-time version */
...
@@ -36,9 +39,11 @@ int get_asn1c_environment_version(void); /* Run-time version */
#if EMIT_ASN_DEBUG == 1
/* And it was asked to emit this code... */
#if EMIT_ASN_DEBUG == 1
/* And it was asked to emit this code... */
#ifdef __GNUC__
#ifdef __GNUC__
#ifdef ASN_THREAD_SAFE
#ifdef ASN_THREAD_SAFE
#define asn_debug_indent 0
/* Thread safety requires sacrifice in output indentation:
#define ASN_DEBUG_INDENT_ADD(i) do{}while(0)
* Retain empty definition of ASN_DEBUG_INDENT_ADD. */
#else
/* !ASN_THREAD_SAFE */
#else
/* !ASN_THREAD_SAFE */
#undef ASN_DEBUG_INDENT_ADD
#undef asn_debug_indent
int
asn_debug_indent
;
int
asn_debug_indent
;
#define ASN_DEBUG_INDENT_ADD(i) do { asn_debug_indent += i; } while(0)
#define ASN_DEBUG_INDENT_ADD(i) do { asn_debug_indent += i; } while(0)
#endif
/* ASN_THREAD_SAFE */
#endif
/* ASN_THREAD_SAFE */
...
...
skeletons/per_opentype.c
View file @
b85507a1
...
@@ -7,16 +7,6 @@
...
@@ -7,16 +7,6 @@
#include <constr_TYPE.h>
#include <constr_TYPE.h>
#include <per_opentype.h>
#include <per_opentype.h>
/* Thread safety requires sacrifice in output indentation. */
#ifndef ASN_DEBUG_INDENT_ADD
#ifdef ASN_THREAD_SAFE
#define ASN_DEBUG_INDENT_ADD(i) do{}while(0)
#else
/* !ASN_THREAD_SAFE */
int
asn_debug_indent
;
#define ASN_DEBUG_INDENT_ADD(i) do { asn_debug_indent += i; } while(0)
#endif
/* ASN_THREAD_SAFE */
#endif
/* ASN_DEBUG_INDENT_ADD */
typedef
struct
uper_ugot_key
{
typedef
struct
uper_ugot_key
{
asn_per_data_t
oldpd
;
/* Old per data source */
asn_per_data_t
oldpd
;
/* Old per data source */
size_t
unclaimed
;
size_t
unclaimed
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment