зеркало из https://github.com/github/ruby.git
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:
Родитель
42575570a9
Коммит
9481461cc3
|
@ -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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче