Jsctypes/api: Difference between revisions

Line 110: Line 110:
   ===> "FILE *"
   ===> "FILE *"
   
   
  const struct_tm = new ctypes.StructType("tm", {tm_sec: ctypes.int, ...});
  const struct_tm = new ctypes.StructType("tm", [{tm_sec: ctypes.int}, ...]);
  struct_tm.name
  struct_tm.name
   ===> "tm"
   ===> "tm"
148

edits