On 15.10.2024 20:37, Mark Bauermeister wrote:
On Tuesday, 15 October 2024 at 16:05:48 UTC, Lance Bachmeier wrote:
On Tuesday, 15 October 2024 at 13:30:03 UTC, Mark Bauermeister wrote:
On Tuesday, 15 October 2024 at 12:27:42 UTC, barbosso wrote:
Are you heard of https://github.com/dkorpel/ctod
On Tuesday, 15 October 2024 at 16:05:48 UTC, Lance Bachmeier
wrote:
On Tuesday, 15 October 2024 at 13:30:03 UTC, Mark Bauermeister
wrote:
On Tuesday, 15 October 2024 at 12:27:42 UTC, barbosso wrote:
Are you heard of https://github.com/dkorpel/ctod ?
I actually used CTOD for part of the transl
On Tuesday, 15 October 2024 at 13:30:03 UTC, Mark Bauermeister
wrote:
On Tuesday, 15 October 2024 at 12:27:42 UTC, barbosso wrote:
Are you heard of https://github.com/dkorpel/ctod ?
I actually used CTOD for part of the translation but it
wouldn't translate the macros correctly. It turned them
Try this great tool by denis korpel
https://dkorpel.github.io/ctod/
I've been using it every so often to port C stuff, it's been very
helpful
```D
@nogc nothrow:
extern(C): __gshared:
union JSCFunctionType {
JSCFunction* generic;
JSValue function(JSContext* ctx, JSValueConst this_val,
On Tuesday, 15 October 2024 at 12:27:42 UTC, barbosso wrote:
Are you heard of https://github.com/dkorpel/ctod ?
I actually used CTOD for part of the translation but it wouldn't
translate the macros correctly. It turned them into weird string
mixins.
On Tuesday, 15 October 2024 at 12:13:36 UTC, monkyyy wrote:
Your probably going to need to simplify that block of code
looks awful
source code here:
https://github.com/bellard/quickjs/blob/master/quickjs.h#L1045
Are you heard of https://github.com/dkorpel/ctod ?
On Tuesday, 15 October 2024 at 12:05:16 UTC, Dakota wrote:
```c
typedef union JSCFunctionType {
JSCFunction *generic;
JSValue (*generic_magic)(JSContext *ctx, JSValueConst
this_val, int argc, JSValueConst *argv, int magic);
JSCFunction *constructor;
JSValue (*constructor_magic)(
```c
typedef union JSCFunctionType {
JSCFunction *generic;
JSValue (*generic_magic)(JSContext *ctx, JSValueConst
this_val, int argc, JSValueConst *argv, int magic);
JSCFunction *constructor;
JSValue (*constructor_magic)(JSContext *ctx, JSValueConst
new_target, int argc, JSValueC
For the past 2 days I've been trying to port the Q3VM
(https://github.com/jnz/q3vm) to D.
While most of the code is converted, it's somewhat riddled with
cast statements and I'm still having trouble getting it to
compile without errors.
My conversion can be found here:
https://gist.github.com
On Sunday, 13 October 2024 at 21:28:41 UTC, Sergey wrote:
On Sunday, 13 October 2024 at 20:06:44 UTC, barbosso wrote:
error in line
```typedef float _Float32;```
clang can compile that line,
but dmd or ldc can not!
This is definatly compiler error!
It is not an error..
This is just lack in the
On Sunday, 13 October 2024 at 21:28:41 UTC, Sergey wrote:
On Sunday, 13 October 2024 at 20:06:44 UTC, barbosso wrote:
error in line
```typedef float _Float32;```
clang can compile that line,
but dmd or ldc can not!
This is definatly compiler error!
It is not an error..
This is just lack in the
12 matches
Mail list logo