mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 08:24:39 +00:00
[build] Place 'extern "C"' before __attribute__, as required by gcc.
Change-Id: I8a7ad221221e8b31a3a23aa9345686d08ba14da5 Reviewed-on: https://dart-review.googlesource.com/53465 Reviewed-by: Siva Annamalai <asiva@google.com> Commit-Queue: Ryan Macnak <rmacnak@google.com>
This commit is contained in:
parent
258c5172df
commit
a1fbf62742
|
@ -791,7 +791,7 @@ typedef struct {
|
|||
* \return NULL if initialization is successful. Returns an error message
|
||||
* otherwise. The caller is responsible for freeing the error message.
|
||||
*/
|
||||
DART_WARN_UNUSED_RESULT DART_EXPORT char* Dart_Initialize(
|
||||
DART_EXPORT DART_WARN_UNUSED_RESULT char* Dart_Initialize(
|
||||
Dart_InitializeParams* params);
|
||||
|
||||
/**
|
||||
|
@ -800,7 +800,7 @@ DART_WARN_UNUSED_RESULT DART_EXPORT char* Dart_Initialize(
|
|||
* \return NULL if cleanup is successful. Returns an error message otherwise.
|
||||
* The caller is responsible for freeing the error message.
|
||||
*/
|
||||
DART_WARN_UNUSED_RESULT DART_EXPORT char* Dart_Cleanup();
|
||||
DART_EXPORT DART_WARN_UNUSED_RESULT char* Dart_Cleanup();
|
||||
|
||||
/**
|
||||
* Sets command line flags. Should be called before Dart_Initialize.
|
||||
|
@ -811,7 +811,7 @@ DART_WARN_UNUSED_RESULT DART_EXPORT char* Dart_Cleanup();
|
|||
* \return NULL if successful. Returns an error message otherwise.
|
||||
* The caller is responsible for freeing the error message.
|
||||
*/
|
||||
DART_WARN_UNUSED_RESULT DART_EXPORT char* Dart_SetVMFlags(int argc,
|
||||
DART_EXPORT DART_WARN_UNUSED_RESULT char* Dart_SetVMFlags(int argc,
|
||||
const char** argv);
|
||||
|
||||
/**
|
||||
|
@ -1084,7 +1084,7 @@ DART_EXPORT bool Dart_IsDart2Snapshot(const uint8_t* snapshot_buffer);
|
|||
* \return NULL if successful. Returns an error message otherwise. The caller
|
||||
* is responsible for freeing the error message.
|
||||
*/
|
||||
DART_WARN_UNUSED_RESULT DART_EXPORT char* Dart_IsolateMakeRunnable(
|
||||
DART_EXPORT DART_WARN_UNUSED_RESULT char* Dart_IsolateMakeRunnable(
|
||||
Dart_Isolate isolate);
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue