Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
024530e8
Commit
024530e8
authored
Apr 06, 2006
by
osku
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename ib_vector typedef to ib_vector_t.
parent
ed93b381
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
14 deletions
+14
-14
include/pars0pars.h
include/pars0pars.h
+2
-2
include/ut0vec.h
include/ut0vec.h
+5
-5
include/ut0vec.ic
include/ut0vec.ic
+2
-2
pars/pars0pars.c
pars/pars0pars.c
+2
-2
ut/ut0vec.c
ut/ut0vec.c
+3
-3
No files found.
include/pars0pars.h
View file @
024530e8
...
...
@@ -542,9 +542,9 @@ pars_info_get_bound_lit(
struct
pars_info_struct
{
mem_heap_t
*
heap
;
/* our own memory heap */
ib_vector
*
funcs
;
/* user functions, or NUll
ib_vector
_t
*
funcs
;
/* user functions, or NUll
(pars_user_func_t*) */
ib_vector
*
bound_lits
;
/* bound literals, or NULL
ib_vector
_t
*
bound_lits
;
/* bound literals, or NULL
(pars_bound_lit_t*) */
ibool
graph_owns_us
;
/* if TRUE (which is the default),
...
...
include/ut0vec.h
View file @
024530e8
...
...
@@ -4,7 +4,7 @@
#include "univ.i"
#include "mem0mem.h"
typedef
struct
ib_vector_struct
ib_vector
;
typedef
struct
ib_vector_struct
ib_vector
_t
;
/* An automatically resizing vector datatype with the following properties:
...
...
@@ -23,7 +23,7 @@ typedef struct ib_vector_struct ib_vector;
/********************************************************************
Create a new vector with the given initial size. */
ib_vector
*
ib_vector
_t
*
ib_vector_create
(
/*=============*/
/* out: vector */
...
...
@@ -36,7 +36,7 @@ Push a new element to the vector, increasing its size if necessary. */
void
ib_vector_push
(
/*===========*/
ib_vector
*
vec
,
/* in: vector */
ib_vector
_t
*
vec
,
/* in: vector */
void
*
elem
);
/* in: data element */
/********************************************************************
...
...
@@ -46,7 +46,7 @@ ulint
ib_vector_size
(
/*===========*/
/* out: number of elements in vector */
ib_vector
*
vec
);
/* in: vector */
ib_vector
_t
*
vec
);
/* in: vector */
/********************************************************************
Get the n'th element. */
...
...
@@ -55,7 +55,7 @@ void*
ib_vector_get
(
/*==========*/
/* out: n'th element */
ib_vector
*
vec
,
/* in: vector */
ib_vector
_t
*
vec
,
/* in: vector */
ulint
n
);
/* in: element index to get */
/* See comment at beginning of file. */
...
...
include/ut0vec.ic
View file @
024530e8
...
...
@@ -5,7 +5,7 @@ ulint
ib_vector_size(
/*===========*/
/* out: number of elements in vector */
ib_vector* vec) /* in: vector */
ib_vector
_t
* vec) /* in: vector */
{
return(vec->used);
}
...
...
@@ -17,7 +17,7 @@ void*
ib_vector_get(
/*==========*/
/* out: n'th element */
ib_vector* vec, /* in: vector */
ib_vector
_t
* vec, /* in: vector */
ulint n) /* in: element index to get */
{
ut_a(n < vec->used);
...
...
pars/pars0pars.c
View file @
024530e8
...
...
@@ -2054,7 +2054,7 @@ pars_info_get_user_func(
const
char
*
name
)
/* in: function name to find*/
{
ulint
i
;
ib_vector
*
vec
;
ib_vector
_t
*
vec
;
if
(
!
info
||
!
info
->
funcs
)
{
return
(
NULL
);
...
...
@@ -2085,7 +2085,7 @@ pars_info_get_bound_lit(
const
char
*
name
)
/* in: bound literal name to find */
{
ulint
i
;
ib_vector
*
vec
;
ib_vector
_t
*
vec
;
if
(
!
info
||
!
info
->
bound_lits
)
{
return
(
NULL
);
...
...
ut/ut0vec.c
View file @
024530e8
...
...
@@ -7,14 +7,14 @@
/********************************************************************
Create a new vector with the given initial size. */
ib_vector
*
ib_vector
_t
*
ib_vector_create
(
/*=============*/
/* out: vector */
mem_heap_t
*
heap
,
/* in: heap */
ulint
size
)
/* in: initial size */
{
ib_vector
*
vec
;
ib_vector
_t
*
vec
;
ut_a
(
size
>
0
);
...
...
@@ -34,7 +34,7 @@ Push a new element to the vector, increasing its size if necessary. */
void
ib_vector_push
(
/*===========*/
ib_vector
*
vec
,
/* in: vector */
ib_vector
_t
*
vec
,
/* in: vector */
void
*
elem
)
/* in: data element */
{
if
(
vec
->
used
>=
vec
->
total
)
{
...
...
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