Re: [racket-users] Help: assimp ffi trouble with pointers

2019-05-21 Thread Akash Shakdwipeea
Makes sense. I modified the code and got it working. Thanks a lot On Wednesday, 22 May 2019 00:44:54 UTC+5:30, Matthew Flatt wrote: > > Since `aiImportFile` can return NULL to indicate failure, you should use > `_ai-scene-pointer/null`: > > (define-assimp ai-import-file (_fun _string _int ->

Re: [racket-users] Help: assimp ffi trouble with pointers

2019-05-21 Thread Matthew Flatt
Since `aiImportFile` can return NULL to indicate failure, you should use `_ai-scene-pointer/null`: (define-assimp ai-import-file (_fun _string _int -> _ai-scene-pointer/null) #:c-id aiImportFile) Probably you don't want `_array`. In a structure, that inlines an array instead of representing

[racket-users] Help: assimp ffi trouble with pointers

2019-05-21 Thread Akash Shakdwipeea
Hi guys, I am trying to use assimp to load some 3d objects. I have run into a problem with the ffi. So I have written bindings to a function which helps me load the model into a scene object

[racket-users] [TFP'19 and TFPIE'19] call for participation

2019-05-21 Thread p.achten
- C A L L F O R P A R T I C I P A T I O N - == TFP 2019 == 20th Symposium on Trends in Functional Programming

[racket-users] Re: tip for promoting racket on yc hacker news

2019-05-21 Thread Stephen De Gabrielle
I'm assuming the same applies to other outreach venues. if you are posting your latest #lang you might consider whatever tag(s) are available on your chosen outposts to help discovery. - https://www.reddit.com/r/racket (I'm not a fan of reddit but it is undeniably popular) - https://