ãã®ä¾ã¯ Mac OS X ã§ Carbon 颿°ãå¼ã³åºãããã« ctypes ãå©ç¨ããæ¹æ³ã説æãã¾ãã /* build a Str255 ("Pascal style") string from the passed-in string */ function makeStr(str) { return String.fromCharCode(str.length) + str; } Components.utils.import("resource://gre/modules/ctypes.jsm"); var carbon = ctypes.open("/System/Library/Frameworks/Carbon.framework/Carbon"); stdAlert = carbon.declare("StandardAlert", /* function name


{{#tags}}- {{label}}
{{/tags}}