Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate out external object files #79

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

HansOlsson
Copy link
Collaborator

As a replacement for #74

To me it makes more sense that each Modelica function includes one C-function; than each of them brings all of them requiring them to be static.

@@ -0,0 +1,15 @@
#include "ExtObj.h"

#include <stdio.h>
Copy link

@henrikt-ma henrikt-ma Oct 1, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is stdio.h included everywhere?

@@ -4,21 +4,24 @@ model ExternalObjectTableInFunction
extends Icons.TestCase;

class MyTable
// Note that this is a copy of ModelicaCompliance.Functions.ExternalObjects.ExternalTable

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't see that class, did you mean this?

Suggested change
// Note that this is a copy of ModelicaCompliance.Functions.ExternalObjects.ExternalTable
// Note that this is a copy of ModelicaCompliance.Functions.ExternalObjects.ExternalObjectTable

Copy link

@henrikt-ma henrikt-ma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think there was a typo in a classname, but overall it looks good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants