mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-06 13:07:48 +00:00
versioning for GTK wrappers
This commit is contained in:
@@ -6,9 +6,9 @@ when defined(windows):
|
||||
gobjectlib = "libgobject-2.0-0.dll"
|
||||
else:
|
||||
const
|
||||
gliblib = "libglib-2.0.so"
|
||||
gmodulelib = "libgmodule-2.0.so"
|
||||
gobjectlib = "libgobject-2.0.so"
|
||||
gliblib = "libglib-2.0.so(|.0)"
|
||||
gmodulelib = "libgmodule-2.0.so(|.0)"
|
||||
gobjectlib = "libgobject-2.0.so(|.0)"
|
||||
# gthreadlib = "libgthread-2.0.so"
|
||||
|
||||
type
|
||||
|
||||
@@ -17,7 +17,7 @@ elif defined(darwin):
|
||||
# linklib atk-1.0.0
|
||||
else:
|
||||
const
|
||||
lib = "libgtk-x11-2.0.so"
|
||||
lib = "libgtk-x11-2.0.so(|.0)"
|
||||
|
||||
const
|
||||
MAX_COMPOSE_LEN* = 7
|
||||
|
||||
@@ -53,10 +53,9 @@ and their interactions are subject to change.
|
||||
How fast is Nimrod?
|
||||
-------------------
|
||||
Benchmarks have not been ported yet and support for threads is missing. But in
|
||||
the worst case, you can get exactly the same performance as in C if you decide
|
||||
the worst case, you can get the same performance as in C if you decide
|
||||
to write as low-level Nimrod code as C requires you to do. That said the only
|
||||
overhead Nimrod has over C is the GC which has been tuned for years (and is
|
||||
significantly faster than the Boehm GC).
|
||||
overhead Nimrod has over C is the GC which has been tuned for years.
|
||||
|
||||
|
||||
Compilation
|
||||
|
||||
Reference in New Issue
Block a user