Jsctypes/api: Difference between revisions

Jump to navigation Jump to search
Line 82: Line 82:
   
   
  const struct_tm = new ctypes.StructType('tm', [{'tm_sec': ctypes.int}, ...]);
  const struct_tm = new ctypes.StructType('tm', [{'tm_sec': ctypes.int}, ...]);
 
  const comparator_t = new ctypes.FunctionType(ctypes.default_abi, ctypes.int, [ ctypes.voidptr_t, ctypes.voidptr_t ]);
  const comparator_t = new ctypes.FunctionType(ctypes.default_abi, ctypes.int, [ ctypes.voidptr_t, ctypes.voidptr_t ]);


148

edits

Navigation menu