Timothy Rule

Results 10 comments of Timothy Rule

For reference, what I currently do is something like this: Flatbuffer Schema: ``` namespace MyGame.Sample; table Weapon { name:string; damage:short; } ``` Using generated code (API generated by Flatbuffer compiler):...

@BrutalSimplicity thanks for that suggestion. Do you think your idea would work with the "string" case above? For that I would need to call a few functions: _Note that each...

`status` kind of works, but its interactions with `--force` and `sources` make it unviable. A `when` (more presence than `if`) that hooks to the same logic that `status` currently has,...

You can do this: ``` yamlDetector := func(raw []byte, limit uint32) bool { return true } mimetype.Lookup("text/plain").Extend(yamlDetector, "text/yaml", ".yaml") mimetype.Lookup("text/plain").Extend(yamlDetector, "text/yaml", ".yml") ``` Or something more robust, such as loading...

We developed a commit for this that we are using. Based on the experience, I would suggest two changes: * rename self.snake_name to self.code_name * refactor/rename camel_to_snake_case() to gen_code_name() with...

Hi @andlaus, we are a bit interested :-) Our workflows would benefit from having some control on the emitted C code (i.e. not changing the variables at all). If there...

@t-sommer Regarding your original suggestion, I would offer a suggestion as follows: `fmi3Status fmi3GetValueAddr(const fmi3ValueReference vr[], size_t nvr, void* addr[]); ` The FMU operates as before, allocating is memory etc....

We did a lot of work on this topic in the last days. As a result it seems we would need the following API: ``` fmi3Status fmi3GetValueAddr(const fmi3ValueReference vr[], size_t...

This is about it ... more or less: ``` // FMU int32_t default_value = 42; // VR = 24 int32_t *value = &default_value; fmi3Status fmi3GetValueAddr(const fmi3ValueReference vr[], size_t nvr, void*...

A pattern we use in our simulation system (non-FMI) is to effectively map variable vector/arrays from the Model into the Importer. Because the model is aware of its variable vector...