mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Ensure start function has correct declaration.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
42575570a9
commit
9481461cc3
6 changed files with 6 additions and 6 deletions
|
@ -23,7 +23,7 @@ typedef struct
|
|||
void **stack_pointer;
|
||||
} coroutine_context;
|
||||
|
||||
typedef void(* coroutine_start)(coroutine_context *from, coroutine_context *self);
|
||||
typedef COROUTINE(* coroutine_start)(coroutine_context *from, coroutine_context *self);
|
||||
|
||||
inline void coroutine_initialize(
|
||||
coroutine_context *context,
|
||||
|
|
|
@ -23,7 +23,7 @@ typedef struct
|
|||
void **stack_pointer;
|
||||
} coroutine_context;
|
||||
|
||||
typedef void(* coroutine_start)(coroutine_context *from, coroutine_context *self);
|
||||
typedef COROUTINE(* coroutine_start)(coroutine_context *from, coroutine_context *self);
|
||||
|
||||
inline void coroutine_initialize(
|
||||
coroutine_context *context,
|
||||
|
|
|
@ -23,7 +23,7 @@ typedef struct
|
|||
void **stack_pointer;
|
||||
} coroutine_context;
|
||||
|
||||
typedef void(* coroutine_start)(coroutine_context *from, coroutine_context *self);
|
||||
typedef COROUTINE(* coroutine_start)(coroutine_context *from, coroutine_context *self);
|
||||
|
||||
inline void coroutine_initialize(
|
||||
coroutine_context *context,
|
||||
|
|
|
@ -23,7 +23,7 @@ struct coroutine_context
|
|||
void **stack_pointer;
|
||||
};
|
||||
|
||||
typedef void(__fastcall * coroutine_start)(coroutine_context *from, coroutine_context *self);
|
||||
typedef COROUTINE(* coroutine_start)(coroutine_context *from, coroutine_context *self);
|
||||
|
||||
inline void coroutine_initialize(
|
||||
coroutine_context *context,
|
||||
|
|
|
@ -23,7 +23,7 @@ struct coroutine_context
|
|||
void **stack_pointer;
|
||||
};
|
||||
|
||||
typedef void(* coroutine_start)(coroutine_context *from, coroutine_context *self);
|
||||
typedef COROUTINE(* coroutine_start)(coroutine_context *from, coroutine_context *self);
|
||||
|
||||
inline void coroutine_initialize(
|
||||
coroutine_context *context,
|
||||
|
|
|
@ -23,7 +23,7 @@ typedef struct
|
|||
void **stack_pointer;
|
||||
} coroutine_context;
|
||||
|
||||
typedef void(* coroutine_start)(coroutine_context *from, coroutine_context *self) __attribute__((fastcall));
|
||||
typedef COROUTINE(* coroutine_start)(coroutine_context *from, coroutine_context *self) __attribute__((fastcall));
|
||||
|
||||
void coroutine_initialize(
|
||||
coroutine_context *context,
|
||||
|
|
Loading…
Reference in a new issue