v8: Removed the extern "C" around the initialize function because it makes no sense since it requires a C++ templates object as a parameter.
This commit is contained in:
parent
ed729f7d3a
commit
f8feeacb68
1 changed files with 3 additions and 2 deletions
|
|
@ -403,7 +403,8 @@ fail:
|
||||||
* ----------------------------------------------------------------------------- */
|
* ----------------------------------------------------------------------------- */
|
||||||
%fragment("js_initializer", "templates")
|
%fragment("js_initializer", "templates")
|
||||||
%{
|
%{
|
||||||
extern "C" {
|
// The extern "C" makes little sense here because the paramater is using C++ objects and templates.
|
||||||
|
// extern "C" {
|
||||||
|
|
||||||
void $jsname_initialize(v8::Handle<v8::Object> global_obj)
|
void $jsname_initialize(v8::Handle<v8::Object> global_obj)
|
||||||
{
|
{
|
||||||
|
|
@ -440,5 +441,5 @@ void $jsname_initialize(v8::Handle<v8::Object> global_obj)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
} // extern "C"
|
// } // extern "C"
|
||||||
%}
|
%}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue