Re: FFI to C, what is the equivalent to const u8 *

2017-02-14 Thread enthus1ast
Thanks, works!

Re: FFI to C, what is the equivalent to const u8 *

2017-02-14 Thread cheatfate
Does it helps? proc crypto_ed25519_sign(signature: array[64, uint8]; secret_key: array[32, uint8]; message: ptr uint8; message_size: csize) {.cdecl, importc: "crypto_ed25519_sign".} var me

FFI to C, what is the equivalent to const u8 *

2017-02-14 Thread enthus1ast
Hi, i've got a c declaration that i like to wrap: void crypto_ed25519_sign(u8signature[64], const u8 secret_key[32], const u8 *message, size_tmessage_si

Re: Nim core developer wanted

2017-02-14 Thread dom96
@vega of course, we will do our best to do just that.

Re: Nimble can't upgrade on osx

2017-02-14 Thread dom96
Whatever works on Windows should also work on OS X.

Re: Nimble can't upgrade on osx

2017-02-14 Thread Angluca
It can upgrade on win. Must 'ln' in bin dir if I use nimble install nimble. Hope can use it on osx.

Re: Nimble can't upgrade on osx

2017-02-14 Thread dom96
That's not how you upgrade Nimble. Nimble does not support the `upgrade` command ([https://github.com/nim-lang/nimble#nimble-usage)](https://github.com/nim-lang/nimble#nimble-usage\)). You might be able to upgrade by running `nimble install nimble`.

Nimble can't upgrade on osx

2017-02-14 Thread Angluca
System have .nimble at ~/ directory, But has error yet. nimble v0.8.2 > nimble upgrade Error: Specified directory does not contain a .nimble file.

Re: Nim core developer wanted

2017-02-14 Thread vega
> We will introduce you to the compiler internals, garbage collector internals > and anything else that may be required to work on Nim. @dom96, please record these introductions in some form and publish them. It will be the great help for newbies