Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
e9c96c62
Commit
e9c96c62
authored
Feb 28, 2001
by
Gerd Moellmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(make_frame): Use allocate_frame.
parent
26605be9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
9 deletions
+4
-9
src/frame.c
src/frame.c
+4
-9
No files found.
src/frame.c
View file @
e9c96c62
/* Generic frame functions.
Copyright (C) 1993, 1994, 1995, 1997, 1999, 2000 Free Software Foundation.
Copyright (C) 1993, 1994, 1995, 1997, 1999, 2000, 2001
Free Software Foundation.
This file is part of GNU Emacs.
...
...
@@ -198,14 +199,8 @@ make_frame (mini_p)
register
struct
frame
*
f
;
register
Lisp_Object
root_window
;
register
Lisp_Object
mini_window
;
register
struct
Lisp_Vector
*
vec
;
int
i
;
vec
=
allocate_vectorlike
((
EMACS_INT
)
VECSIZE
(
struct
frame
));
for
(
i
=
0
;
i
<
VECSIZE
(
struct
frame
);
i
++
)
XSETFASTINT
(
vec
->
contents
[
i
],
0
);
vec
->
size
=
VECSIZE
(
struct
frame
);
f
=
(
struct
frame
*
)
vec
;
f
=
allocate_frame
();
XSETFRAME
(
frame
,
f
);
f
->
desired_matrix
=
0
;
...
...
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