Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abc
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
abc
Commits
6ad94cd9
Commit
6ad94cd9
authored
May 19, 2013
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Making changes suggested by Mark Jarvin.
parent
232fe09e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
src/bdd/cudd/cudd.h
+5
-5
src/bdd/cudd/cuddInt.h
+5
-0
No files found.
src/bdd/cudd/cudd.h
View file @
6ad94cd9
...
@@ -364,7 +364,7 @@ typedef int (*DD_QSFP)(const void *, const void *);
...
@@ -364,7 +364,7 @@ typedef int (*DD_QSFP)(const void *, const void *);
SeeAlso [Cudd_NotCond]
SeeAlso [Cudd_NotCond]
******************************************************************************/
******************************************************************************/
#define Cudd_Not(node) ((DdNode *)((
long
)(node) ^ 01))
#define Cudd_Not(node) ((DdNode *)((
ptrint
)(node) ^ 01))
/**Macro***********************************************************************
/**Macro***********************************************************************
...
@@ -380,7 +380,7 @@ typedef int (*DD_QSFP)(const void *, const void *);
...
@@ -380,7 +380,7 @@ typedef int (*DD_QSFP)(const void *, const void *);
SeeAlso [Cudd_Not]
SeeAlso [Cudd_Not]
******************************************************************************/
******************************************************************************/
#define Cudd_NotCond(node,c) ((DdNode *)((
long
)(node) ^ (c)))
#define Cudd_NotCond(node,c) ((DdNode *)((
ptrint
)(node) ^ (c)))
/**Macro***********************************************************************
/**Macro***********************************************************************
...
@@ -394,7 +394,7 @@ typedef int (*DD_QSFP)(const void *, const void *);
...
@@ -394,7 +394,7 @@ typedef int (*DD_QSFP)(const void *, const void *);
SeeAlso [Cudd_Complement Cudd_IsComplement]
SeeAlso [Cudd_Complement Cudd_IsComplement]
******************************************************************************/
******************************************************************************/
#define Cudd_Regular(node) ((DdNode *)((
unsigned long
)(node) & ~01))
#define Cudd_Regular(node) ((DdNode *)((
ptruint
)(node) & ~01))
/**Macro***********************************************************************
/**Macro***********************************************************************
...
@@ -408,7 +408,7 @@ typedef int (*DD_QSFP)(const void *, const void *);
...
@@ -408,7 +408,7 @@ typedef int (*DD_QSFP)(const void *, const void *);
SeeAlso [Cudd_Regular Cudd_IsComplement]
SeeAlso [Cudd_Regular Cudd_IsComplement]
******************************************************************************/
******************************************************************************/
#define Cudd_Complement(node) ((DdNode *)((
unsigned long
)(node) | 01))
#define Cudd_Complement(node) ((DdNode *)((
ptruint
)(node) | 01))
/**Macro***********************************************************************
/**Macro***********************************************************************
...
@@ -422,7 +422,7 @@ typedef int (*DD_QSFP)(const void *, const void *);
...
@@ -422,7 +422,7 @@ typedef int (*DD_QSFP)(const void *, const void *);
SeeAlso [Cudd_Regular Cudd_Complement]
SeeAlso [Cudd_Regular Cudd_Complement]
******************************************************************************/
******************************************************************************/
#define Cudd_IsComplement(node) ((int) ((
long
) (node) & 01))
#define Cudd_IsComplement(node) ((int) ((
ptrint
) (node) & 01))
/**Macro***********************************************************************
/**Macro***********************************************************************
...
...
src/bdd/cudd/cuddInt.h
View file @
6ad94cd9
...
@@ -247,6 +247,7 @@ typedef struct DdHook { /* hook list element */
...
@@ -247,6 +247,7 @@ typedef struct DdHook { /* hook list element */
struct
DdHook
*
next
;
/* next element in the list */
struct
DdHook
*
next
;
/* next element in the list */
}
DdHook
;
}
DdHook
;
/*
#if SIZEOF_VOID_P == 8 && SIZEOF_INT == 4
#if SIZEOF_VOID_P == 8 && SIZEOF_INT == 4
typedef long ptrint;
typedef long ptrint;
typedef unsigned long ptruint;
typedef unsigned long ptruint;
...
@@ -254,6 +255,10 @@ typedef unsigned long ptruint;
...
@@ -254,6 +255,10 @@ typedef unsigned long ptruint;
typedef int ptrint;
typedef int ptrint;
typedef unsigned int ptruint;
typedef unsigned int ptruint;
#endif
#endif
*/
typedef
ABC_PTRINT_T
ptrint
;
typedef
ABC_PTRUINT_T
ptruint
;
#ifdef __osf__
#ifdef __osf__
#pragma pointer_size save
#pragma pointer_size save
...
...
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