Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
GHC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gesh
GHC
Commits
484b89a5
Commit
484b89a5
authored
27 years ago
by
Simon Marlow
Browse files
Options
Downloads
Patches
Plain Diff
[project @ 1998-02-19 13:55:52 by simonm]
header file for ByteOps.c.
parent
4e2414d4
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ghc/lib/misc/cbits/ByteOps.h
+18
-0
18 additions, 0 deletions
ghc/lib/misc/cbits/ByteOps.h
with
18 additions
and
0 deletions
ghc/lib/misc/cbits/ByteOps.h
0 → 100644
+
18
−
0
View file @
484b89a5
#ifndef BYTEOPS_H
#define BYTEOPS_H
/* "Native" support */
/* sigh again: without these some (notably "float") willnae work */
I_
long2bytes__
PROTO
((
long
,
unsigned
char
*
));
I_
int2bytes__
PROTO
((
int
,
unsigned
char
*
));
I_
short2bytes__
PROTO
((
short
,
unsigned
char
*
));
I_
float2bytes__
PROTO
((
float
,
unsigned
char
*
));
I_
double2bytes__
PROTO
((
double
,
unsigned
char
*
));
I_
bytes2long__
PROTO
((
P_
,
I_
*
));
I_
bytes2int__
PROTO
((
P_
,
I_
*
));
I_
bytes2short__
PROTO
((
P_
,
I_
*
));
I_
bytes2float__
PROTO
((
P_
,
StgFloat
*
));
I_
bytes2double__
PROTO
((
P_
,
StgDouble
*
));
#endif
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