Changes between Initial Version and Version 1 of Ticket #1500
- Timestamp:
- 04/21/10 08:26:17 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1500
- Property priority changed from normal to major
-
Ticket #1500 – description
initial v1 12 12 It is defined to be in the "filesys_open" opcode group. Currently there is no way to tell if a certain opcode is in a given group. The information does not seem to make it into op_info_t, but it is in lib/Parrot/OpLib/core.pm . I propose a public C API that will consist of at least these three functions: 13 13 14 {{{ Parrot_ opcode_is_in_group(string opcode_name, string group_name) }}}14 {{{ Parrot_sec_opcode_is_in_group(string opcode_name, string group_name) }}} 15 15 16 16 This function would take an opcode name and opcode group name as argument and return true if the opcode is in the group, false otherwise. 17 17 18 {{{ Parrot_ opcodes_in_group(string opcode_group) }}}18 {{{ Parrot_sec_opcodes_in_group(string opcode_group) }}} 19 19 20 20 This function takes a string argument of an opcode group name and returns a ResizableStringArray containing all opcodes in that group. 21 21 22 {{{ Parrot_ groups_containing_opcode(string opcode_name) }}}22 {{{ Parrot_sec_groups_containing_opcode(string opcode_name) }}} 23 23 24 24 This function takes a string argument of an opcode name and returns a ResizableStringArray listing all groups that contain the given opcode name.