Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
asn1c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
oai
asn1c
Commits
e2c05bf2
Commit
e2c05bf2
authored
13 years ago
by
Lev Walkin
Browse files
Options
Downloads
Patches
Plain Diff
fixed indentation in per
parent
69c73dc6
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
skeletons/asn_internal.h
+1
-1
1 addition, 1 deletion
skeletons/asn_internal.h
skeletons/per_opentype.c
+10
-0
10 additions, 0 deletions
skeletons/per_opentype.c
with
11 additions
and
1 deletion
skeletons/asn_internal.h
+
1
−
1
View file @
e2c05bf2
...
...
@@ -40,7 +40,7 @@ int get_asn1c_environment_version(void); /* Run-time version */
#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
ncrement
; } while(0)
#define ASN_DEBUG_INDENT_ADD(i) do { asn_debug_indent += i; } while(0)
#endif
/* ASN_THREAD_SAFE */
#define ASN_DEBUG(fmt, args...) do { \
int adi = asn_debug_indent; \
...
...
This diff is collapsed.
Click to expand it.
skeletons/per_opentype.c
+
10
−
0
View file @
e2c05bf2
...
...
@@ -7,6 +7,16 @@
#include
<constr_TYPE.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
{
asn_per_data_t
oldpd
;
/* Old per data source */
size_t
unclaimed
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment