Skip to content

Commit

Permalink
snProblem must be concrete
Browse files Browse the repository at this point in the history
  • Loading branch information
jgillis committed Mar 31, 2023
1 parent 63c8650 commit f66a391
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions snopt/include/snopt_cwrap.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,32 @@ extern "C" {
#include <string.h>
#include <assert.h>

typedef struct snProblem_internal snProblem;

typedef void (*snFunC)(int*, int*, int*, int*, int*, int*, double [], double*, double [], double [], double [], int*,char [], int*, int[], int*, double [], int*);

typedef void (*anon_f)(void);

typedef struct {
char *anon1;

int anon2;
int anon3;
int anon4;

anon_f anon5;
anon_f anon6;
anon_f anon7;
anon_f anon8;

int lenrw, leniw;
int *iw;
double *rw;

int lenru, leniu;
int *iu;
double *ru;

} snProblem;

void snInitX(snProblem*, char*, char*, int, char*, int);
void snInit(snProblem*, char*, char*, int);

Expand Down

0 comments on commit f66a391

Please sign in to comment.