havenwood changed the topic of #ruby to: Ruby 3.4.1, 3.3.6 https://www.ruby-lang.org | Log https://libera.irclog.whitequark.org/ruby
saulosilva has joined #ruby
saulosilva has quit [Quit: Client closed]
saulosilva has joined #ruby
saulosilva has quit [Quit: Client closed]
Vonter has quit [Quit: WeeChat 4.5.1]
konsolebox has joined #ruby
sarna has quit [Ping timeout: 245 seconds]
sarna has joined #ruby
jasfloss has quit [Ping timeout: 260 seconds]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
duderonomy has joined #ruby
jasfloss has joined #ruby
grenierm has joined #ruby
ih8u has quit [Quit: ih8u]
ih8u has joined #ruby
cappy has joined #ruby
Linux_Kerio has joined #ruby
crespire has quit [Killed (NickServ (GHOST command used by crespire1))]
crespire1 has joined #ruby
rvalue has quit [Ping timeout: 252 seconds]
rvalue has joined #ruby
cappy has quit [Quit: Leaving]
CanuteTheGreat has quit [Remote host closed the connection]
rvalue has quit [Ping timeout: 248 seconds]
rvalue has joined #ruby
grenierm has quit [Ping timeout: 240 seconds]
dionysus69 has joined #ruby
graaff has quit [Quit: Leaving]
graaff has joined #ruby
konsolebox has quit [Ping timeout: 276 seconds]
dionysus69 has quit [Ping timeout: 272 seconds]
konsolebox has joined #ruby
flod has joined #ruby
sarna has quit [Remote host closed the connection]
sarna has joined #ruby
hwpplayer1 has joined #ruby
dionysus69 has joined #ruby
Furai has quit [Quit: WeeChat 4.5.1]
Furai has joined #ruby
hwpplayer1 has quit [Remote host closed the connection]
konsolebox_ has joined #ruby
konsolebox has quit [Ping timeout: 240 seconds]
hwpplayer1 has joined #ruby
mjanssen has quit [Read error: Connection reset by peer]
JulioPapel has joined #ruby
mjanssen has joined #ruby
JulioPapel has quit [Quit: JulioPapel]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ruby
TomyLobo has joined #ruby
dviola has quit [Quit: WeeChat 4.5.1]
Sheilong has joined #ruby
user71 has joined #ruby
flod has quit [Ping timeout: 245 seconds]
konsolebox_ has quit [Ping timeout: 248 seconds]
MsInput has quit [Quit: WeeChat 4.5.1]
konsolebox has joined #ruby
Linux_Kerio has quit [Ping timeout: 252 seconds]
hwpplayer1 has quit [Read error: Connection reset by peer]
Vonter has joined #ruby
flod has joined #ruby
patrick has quit [Ping timeout: 252 seconds]
patrick_ is now known as patrick
lirion has quit [Quit: ヾ(ʘ‿ʘ)]
flod has quit [Ping timeout: 272 seconds]
hwpplayer1 has joined #ruby
konsolebox has quit [Ping timeout: 272 seconds]
joako has quit [Ping timeout: 244 seconds]
lirion has joined #ruby
Linux_Kerio has joined #ruby
joako has joined #ruby
joako has quit [Quit: quit]
joako has joined #ruby
TomyWork has joined #ruby
enwu has left #ruby [-]
o0x1eef has quit [Quit: Quit]
r3m has quit [Quit: WeeChat 4.6.0-dev]
TomyWork has quit [Ping timeout: 245 seconds]
TomyWork has joined #ruby
r3m has joined #ruby
o0x1eef has joined #ruby
TomyWork has quit [Ping timeout: 248 seconds]
hwpplayer1 has quit [Quit: I'll be back later]
Viko has joined #ruby
<Viko> I'm trying to use Fiddle to use some OS functionality via ffi and the docs aren't really helpful, specially for structs definition. I've seen like 3 different ways and I they don't work. I'd like to load a WNDCLASS struct so I can be able to use RegisterClass(WNDCLASS*) so I can open a window, however can see the way to make this one work. Aside of that, typealiases don't seem to work through nested modules even if I declare them in the parent module.
<Viko> Can someone help me on how is the best way to make ffi happen? I should be able to create and declare created cstructs like WNDCLASS, load c functions and work with ctypes across different submodules. I couldn't find any good resources about it?
vi_ has joined #ruby
<Viko> Hi, btw
user71 has quit [Quit: Leaving]
<weaksauce> Viko a few options... you can try looking at the tests or look for other people on github using fiddle or maybe even chatgpt to get an idea.
<weaksauce> there is also a few articles on this website about using different ffi wrappers https://ankane.org/
<Viko> I can do Github thing ty, CGPT I tried but it always gives my half info or a different info every time
<weaksauce> the articles iirc were shorts about integrating with AI stuff maybe? i read it a while ago
<weaksauce> might have been directly on the subject
<weaksauce> yeah maybe this https://ankane.org/new-ml-gems
dionysus69 has quit [Ping timeout: 276 seconds]
vi_ has quit [Quit: Leaving]
Viko1 has joined #ruby
Viko has quit [Ping timeout: 248 seconds]
Viko1 is now known as Viko
Viko has quit [Ping timeout: 252 seconds]
duderonomy has joined #ruby
mahlon has quit [Ping timeout: 252 seconds]
Sheilong has quit [Quit: Connection closed for inactivity]
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
mahlon has joined #ruby
dviola has joined #ruby
o0x1eef has quit [Quit: Quit]
o0x1eef has joined #ruby
Linux_Kerio has quit [Ping timeout: 244 seconds]