-
Crystal currently relies on iconv or GNU libiconv for conversions between text encodings. This has a few problems:
* iconv does not guarantee the support for any encoding at all, yet it doesn't pro…
-
Using a property binding from within a .ui file will result in a GICrystal::ObjectCollectedError being raised.
Here's an example:
```crystal
require "gtk4"
APP_ID = "com.example.test"
@[Gtk…
-
Here is my quite working tool for generating C bindings in Crystal
Written in ruby, based on gen_ffi gem.
https://github.com/fazibear/crystal_lib_gen
Hope you like it :)
-
Hi!
The code you are writing in Crystal is quite amazing! Mongo, AMQP, and now correct and complete bindings for OpenSSL.
The OpenSSL bindings in Crystal are poor/incomplete because we didn't have t…
-
I'm trying to create a container with host configuration:
```crystal
require "docker"
client = Docker::Client.new
host_config = {
port_bindings: {
{"8000/tcp": [{host_port: "8000"}]},
…
-
## Bug Report
First discovered in [lexbor](https://github.com/kostya/lexbor) shard when trying out interpreter, these Lib bindings fail to run:
```crystal
# src/lexbor/lib.cr
type TokenAttrT = T…
-
I admittedly don't know much about SWIG, except that it's used to create wrappers/bindings for C libraries in other languages. Given that being able to create C bindings is one of the fundamental goal…
-
This is stupid code of course, but still, Crystal raises an error instead of pointing out the error.
```
crystal eval 'Hash(String, String).new { |h, k| h[k] = raise "" }'
Cast from Nil to Crysta…
-
I noticed `Reference#as?(Void*)` doesn't behave like `Reference#as(Void*)`. For example:
```crystal
class Foo; end
foo = Foo.new
p foo.as(Void*) # => Pointer(Void)@x7fd2152b9a00
p foo.as?(Vo…
-
Hi, thanks for writing these bindings, they are very useful and easy to work with. However, window searching doesn't work:
```crystal
require "x_do"
XDo.act do
winds = search { window_name "A…