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:
samuel 2018-11-20 10:16:54 +00:00
Родитель 42575570a9
Коммит 9481461cc3
6 изменённых файлов: 6 добавлений и 6 удалений

Просмотреть файл

@ -23,7 +23,7 @@ typedef struct
void **stack_pointer; void **stack_pointer;
} coroutine_context; } 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( inline void coroutine_initialize(
coroutine_context *context, coroutine_context *context,

Просмотреть файл

@ -23,7 +23,7 @@ typedef struct
void **stack_pointer; void **stack_pointer;
} coroutine_context; } 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( inline void coroutine_initialize(
coroutine_context *context, coroutine_context *context,

Просмотреть файл

@ -23,7 +23,7 @@ typedef struct
void **stack_pointer; void **stack_pointer;
} coroutine_context; } 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( inline void coroutine_initialize(
coroutine_context *context, coroutine_context *context,

Просмотреть файл

@ -23,7 +23,7 @@ struct coroutine_context
void **stack_pointer; 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( inline void coroutine_initialize(
coroutine_context *context, coroutine_context *context,

Просмотреть файл

@ -23,7 +23,7 @@ struct coroutine_context
void **stack_pointer; 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( inline void coroutine_initialize(
coroutine_context *context, coroutine_context *context,

Просмотреть файл

@ -23,7 +23,7 @@ typedef struct
void **stack_pointer; void **stack_pointer;
} coroutine_context; } 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( void coroutine_initialize(
coroutine_context *context, coroutine_context *context,