Goldeye Novice
Gender: Joined: Dec 15 2003 Posts: 57 Offline
|
Posted: Sun Jul 09, 2006 10:35 am Post subject: Pyint Troubles |
 |
|
|
|
I'll make it short and sweet. I get the following error.
E <pymod> error in 'mm_attach'
File "/Users/goldeye/asss/working/bin/jpcounter.py", line 20, in mm_attach
vl = get_interface(I_VARLVZ,a);
Exception: py->py interface varlvz-2 wasn't found
|
varlvz, however, is a C interface. meaning the hashtable pyint_ints does not contain varlvz-2. py_interfaces.inc contains absolutely no mention of varlvz, although py_constants.inc does have I_VARLVZ. Anyone know a cause for this or see anything wrong with the interface declaration below?
typedef struct Ivarlvz
{
INTERFACE_HEAD_DECL
/* pyint: use */
void (*RefreshLVZ)(const Target *target);
/* pyint: target -> void */
void (*ToggleLVZVar)(const Target *target, char *name, int state);
/* pyint: target, string, int -> void */
void (*ToggleLVZVarByPtr)(const Target *target, lvzvar *var, int state);
/* Toggles each lvzvar *var in list to var->next
* A next value of VLVZ_CURRENT is ignored, and causes no change
* next is set to VLVZ_CURRENT whenever this func changes it.
*/
// void (*ToggleLVZList)(Target *target, LinkedList *list);
/* Returns a pointer to the lvzvar for arenas variable with name
* or returns NULL if that variable was not found.
*/
lvzvar *(*GetVar)(Arena *arena, char *name);
/* Returns a pointer to the list of variables in arena
* or NULL if that arena's variables were not initialized.
*/
LinkedList *(*GetVarList)(Arena *arena);
} Ivarlvz;
|
|
|