[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #61537] mxAddField too strict on field validat
From: |
Guillaume |
Subject: |
[Octave-bug-tracker] [bug #61537] mxAddField too strict on field validation |
Date: |
Wed, 24 Nov 2021 05:01:10 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0 |
URL:
<https://savannah.gnu.org/bugs/?61537>
Summary: mxAddField too strict on field validation
Project: GNU Octave
Submitted by: gyom
Submitted on: Wed 24 Nov 2021 10:01:07 AM UTC
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Other
Status: None
Assigned to: None
Originator Name: Guillaume
Originator Email:
Open/Closed: Open
Release: dev
Discussion Lock: Any
Operating System: Any
_______________________________________________________
Details:
Fields such as "_a" can be created with mxCreateStructMatrix() but they are
rejected with mxAddField().
#include "mex.h"
void
mexFunction (int nlhs, mxArray *plhs[],
int nrhs, const mxArray *prhs[])
{
const char *keys[] = { "_a" };
int i;
plhs[0] = mxCreateStructMatrix (1, 1, 1, keys);
i = mxAddField (plhs[0], "_b");
mexPrintf ("field number = %d\n", i);
}
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?61537>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #61537] mxAddField too strict on field validation,
Guillaume <=
- [Octave-bug-tracker] [bug #61537] mxAddField too strict on field validation, John W. Eaton, 2021/11/24
- [Octave-bug-tracker] [bug #61537] mxAddField too strict on field validation, Guillaume, 2021/11/24
- [Octave-bug-tracker] [bug #61537] mxAddField too strict on field validation, John W. Eaton, 2021/11/24
- [Octave-bug-tracker] [bug #61537] mxAddField too strict on field validation, John W. Eaton, 2021/11/24
- [Octave-bug-tracker] [bug #61537] mxAddField too strict on field validation, Guillaume, 2021/11/24
- [Octave-bug-tracker] [bug #61537] mxAddField too strict on field validation, John W. Eaton, 2021/11/24
- [Octave-bug-tracker] [bug #61537] mxAddField too strict on field validation, Guillaume, 2021/11/24