Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
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
Esteban Blanc
proview
Commits
4cfa0985
Commit
4cfa0985
authored
Sep 30, 2010
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Longword size alignment of ClassDef and Attribute objects
parent
484b1921
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
39 additions
and
4 deletions
+39
-4
src/exp/inc/src/pwr_class.h
src/exp/inc/src/pwr_class.h
+3
-1
src/wbl/pwrs/src/pwrs_c_attribute.wb_load
src/wbl/pwrs/src/pwrs_c_attribute.wb_load
+17
-0
src/wbl/pwrs/src/pwrs_c_classdef.wb_load
src/wbl/pwrs/src/pwrs_c_classdef.wb_load
+19
-3
No files found.
src/exp/inc/src/pwr_class.h
View file @
4cfa0985
...
...
@@ -541,8 +541,9 @@ struct pwr_s_ClassDef {
editor. */
pwr_mClassDef
Flags
pwr_dAlignW
;
pwr_tUInt32
NumOfObjBodies
pwr_dAlignW
;
pwr_ePopEditor
PopEditor
pwr_dAlignW
;
/* What kind of object picture
pwr_ePopEditor
PopEditor
pwr_dAlignW
;
/* What kind of object picture
dispatcher to use. */
pwr_tInt32
Filler
pwr_dAlignW
;
/* LongWord size alignment */
};
...
...
@@ -753,6 +754,7 @@ struct pwr_s_Param {
pwr_sParInfo
Info
pwr_dAlignLW
;
pwr_tTypeId
TypeRef
pwr_dAlignW
;
/* Reference to the object defining
the type. */
pwr_tInt32
Filler
pwr_dAlignW
;
/* LongWord size alignment */
};
struct
pwr_s_Intern
{
...
...
src/wbl/pwrs/src/pwrs_c_attribute.wb_load
View file @
4cfa0985
...
...
@@ -191,6 +191,23 @@ SObject pwrs:Class
Attr TypeRef = pwr_eType_TypeId
EndBody
EndObject
!/**
! LongWord size alignment.
!*/
Object Filler pwr_eClass_Param 9
Body SysBody
Attr PgmName = "Filler"
Attr Type = pwr_eType_TypeId
Attr Offset = 60
Attr Size = 4
Attr Flags = PWR_MASK_ALWAYSWBL
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_RTHIDE
Attr Elements = 1
Attr ParamIndex = 9
Attr TypeRef = pwr_eType_Int32
EndBody
EndObject
EndObject
Object Template $Attribute
Body SysBody
...
...
src/wbl/pwrs/src/pwrs_c_classdef.wb_load
View file @
4cfa0985
...
...
@@ -39,8 +39,8 @@ SObject pwrs:Class
Object SysBody pwr_eClass_ObjBodyDef 1
Body SysBody
Attr StructName = "ClassDef"
Attr NumOfParams =
4
Attr Size =
16
Attr NumOfParams =
6
Attr Size =
24
EndBody
!/**
! Editor to call on an "Open" command.
...
...
@@ -125,7 +125,23 @@ SObject pwrs:Class
Attr Size = 4
Attr Flags = 0
Attr Elements = 1
Attr ParamIndex = 4
Attr ParamIndex = 5
Attr TypeRef = pwr_eType_Int32
EndBody
EndObject
!/**
! LongWord size alignment
!*/
Object Filler pwr_eClass_Param
Body SysBody
Attr PgmName = "Filler"
Attr Type = pwr_eType_Int32
Attr Offset = 20
Attr Size = 4
Attr Flags = PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_RTHIDE
Attr Elements = 1
Attr ParamIndex = 6
Attr TypeRef = pwr_eType_Int32
EndBody
EndObject
...
...
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