Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(956)

Unified Diff: src/shared/natives.h

Issue 1209033003: Work in progres, please take a look and give early feedback if this is the way we want to structure… (Closed) Base URL: git@github.com:dart-lang/fletch.git@master
Patch Set: Mac lib prefix/postfix Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/shared/natives.h
diff --git a/src/shared/natives.h b/src/shared/natives.h
index 2e8c3f3229857e247abe3ff2d2850ba14e2388c1..064542c1cca92861cf3c63ec8050245c7fb15397 100644
--- a/src/shared/natives.h
+++ b/src/shared/natives.h
@@ -135,6 +135,11 @@ namespace fletch {
N(StopwatchFrequency, "Stopwatch", "_frequency") \
N(StopwatchNow, "Stopwatch", "_now") \
\
+ N(ForeignLibraryLookup, "ForeignLibrary", "_lookupLibrary") \
+ N(ForeignLibraryClose, "ForeignLibrary", "_closeLibrary") \
+ N(ForeignLibraryGetFunction, "ForeignLibrary", "_lookupFunction") \
+ N(ForeignLibraryBundlePath, "ForeignLibrary", "_bundlePath") \
+ \
N(ForeignLookup, "Foreign", "_lookup") \
N(ForeignAllocate, "Foreign", "_allocate") \
N(ForeignFree, "Foreign", "_free") \
@@ -183,11 +188,11 @@ namespace fletch {
N(ForeignSetUint32, "Foreign", "_setUint32") \
N(ForeignSetUint64, "Foreign", "_setUint64") \
\
- N(ForeignGetFloat32, "Foreign", "_getFloat32") \
- N(ForeignGetFloat64, "Foreign", "_getFloat64") \
+ N(ForeignGetFloat32, "Foreign", "_getFloat32") \
+ N(ForeignGetFloat64, "Foreign", "_getFloat64") \
\
- N(ForeignSetFloat32, "Foreign", "_setFloat32") \
- N(ForeignSetFloat64, "Foreign", "_setFloat64") \
+ N(ForeignSetFloat32, "Foreign", "_setFloat32") \
+ N(ForeignSetFloat64, "Foreign", "_setFloat64") \
\
N(StringAdd, "_StringImpl", "+") \
N(StringCodeUnitAt, "_StringImpl", "codeUnitAt") \

Powered by Google App Engine
This is Rietveld 408576698