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
089b8e9a
Commit
089b8e9a
authored
Jul 02, 2005
by
Lev Walkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
conversions
parent
a127c3a2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
12 deletions
+16
-12
skeletons/asn_SEQUENCE_OF.h
skeletons/asn_SEQUENCE_OF.h
+8
-0
skeletons/asn_SET_OF.h
skeletons/asn_SET_OF.h
+8
-0
skeletons/asn_internal.h
skeletons/asn_internal.h
+0
-12
No files found.
skeletons/asn_SEQUENCE_OF.h
View file @
089b8e9a
...
@@ -33,4 +33,12 @@
...
@@ -33,4 +33,12 @@
*/
*/
void
asn_sequence_del
(
void
*
asn_sequence_of_x
,
int
number
,
int
_do_free
);
void
asn_sequence_del
(
void
*
asn_sequence_of_x
,
int
number
,
int
_do_free
);
/*
* Cope with different conversions requirements to/from void in C and C++.
* This is mostly useful for support library.
*/
typedef
A_SEQUENCE_OF
(
void
)
asn_anonymous_sequence_
;
#define _A_SEQUENCE_FROM_VOID(ptr) ((asn_anonymous_sequence_ *)(ptr))
#define _A_CSEQUENCE_FROM_VOID(ptr) ((const asn_anonymous_sequence_ *)(ptr))
#endif
/* ASN_SEQUENCE_OF_H */
#endif
/* ASN_SEQUENCE_OF_H */
skeletons/asn_SET_OF.h
View file @
089b8e9a
...
@@ -43,4 +43,12 @@ void asn_set_del(void *asn_set_of_x, int number, int _do_free);
...
@@ -43,4 +43,12 @@ void asn_set_del(void *asn_set_of_x, int number, int _do_free);
*/
*/
void
asn_set_empty
(
void
*
asn_set_of_x
);
void
asn_set_empty
(
void
*
asn_set_of_x
);
/*
* Cope with different conversions requirements to/from void in C and C++.
* This is mostly useful for support library.
*/
typedef
A_SET_OF
(
void
)
asn_anonymous_set_
;
#define _A_SET_FROM_VOID(ptr) ((asn_anonymous_set_ *)(ptr))
#define _A_CSET_FROM_VOID(ptr) ((const asn_anonymous_set_ *)(ptr))
#endif
/* ASN_SET_OF_H */
#endif
/* ASN_SET_OF_H */
skeletons/asn_internal.h
View file @
089b8e9a
...
@@ -80,16 +80,4 @@ static void ASN_DEBUG(const char *fmt, ...) { (void)fmt; };
...
@@ -80,16 +80,4 @@ static void ASN_DEBUG(const char *fmt, ...) { (void)fmt; };
if(cb(" ", 4, app_key) < 0) return -1; \
if(cb(" ", 4, app_key) < 0) return -1; \
} while(0)
} while(0)
/*
* Cope with implicit conversions to/from void.
*/
#include <asn_SET_OF.h>
#include <asn_SEQUENCE_OF.h>
typedef
A_SEQUENCE_OF
(
void
)
asn_anonymous_sequence_
;
typedef
A_SET_OF
(
void
)
asn_anonymous_set_
;
#define _A_SET_FROM_VOID(ptr) ((asn_anonymous_set_ *)(ptr))
#define _A_CSET_FROM_VOID(ptr) ((const asn_anonymous_set_ *)(ptr))
#define _A_SEQUENCE_FROM_VOID(ptr) ((asn_anonymous_sequence_ *)(ptr))
#define _A_CSEQUENCE_FROM_VOID(ptr) ((const asn_anonymous_sequence_ *)(ptr))
#endif
/* _ASN_INTERNAL_H_ */
#endif
/* _ASN_INTERNAL_H_ */
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