Hi, I have another set of issues and they are a bit too much to know where I should start.
I have this C Struct:
struct vty_app_info {
const char *name;
const char *version;
const char *copyright;
void *tall_ctx;
enum node_type (*go_parent_cb)(struct vty *vty);
int (*is_config_node)(struct vty *vty, int node);
};
For the last three members I actually can cope with only having dummies to
make the CStruct sizeof the right size... So I came up with this, at least it
has the right size.
CStruct subclass: vty_app_info [
<category: 'libosmovty'>
<comment: 'I represent the vty_app_info... some structs are wrong'>
<declaration: #(
(#name #string)
(#version #string)
(#copyright #string)
(#tall_ctx (#ptr #int))
(#go_parent_cb (#ptr #int))
(#is_config_node (#ptr #int))) >
]
Using the gst shell, I can file in the above file, if I use gst-remote --eval
"FileStream fileIn: 'OsmoVTY.st'" I get a weird parse error with the STinST
parser, if I fileIn in VisualGST my vty_app_info lacks the gcNew call. This is
all very mysterious.
Any pointer on how to debug that would be welcome.
OsmoVTY.st
Description: application/vnd.sailingtracker.track
_______________________________________________ help-smalltalk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-smalltalk
