{"json_modified": "2016-10-13T22:37:49.883377", "uuid": "26aeb84b-5bce-4a1b-bb5a-74ff31a5cb8e", "title": "js-ctypes", "url": "/en-US/docs/Mozilla/js-ctypes", "tags": ["js-ctypes", "JavaScript"], "translations": [{"uuid": "7309e145-4277-4d4f-8ac2-2ce9699aab45", "title": "js-ctypes", "url": "/ko/docs/Mozilla/js-ctypes", "tags": [], "summary": "js-ctypes \uc5d0\uc11c\ub294 \uc751\uc6a9 \ud504\ub85c\uadf8\ub7a8\uacfc \ud655\uc7a5\ucf54\ub4dc\uac00 C\ub85c \uc791\uc131\ub41c \ub124\uc774\ud2f0\ube0c \ucf54\ub4dc\ub97c \ud1b5\ud574 \uc55e\ub4a4\ub85c \ud638\ucd9c\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. C++\uc9c0\uc6d0\uc774 \uc81c\ud55c\ub418\ub2c8 bug\u00a0505907 \uc644\uc804\ud788 \uc9c0\uc6d0\uc744 \ubc14\ub78d\ub2c8\ub2e4. binary XPCOM \uad6c\uc131 \uc694\uc11c\uc640\ub294 \ub2ec\ub9ac,\uac1c\ubc1c\uc790\uac00 \ud30c\uc774\uc5b4 \ud3ed\uc2a4\uc758 \uc5ec\ub7ec\ubc84\uc804\uacfc \ud568\uaed8 \uc0ac\uc6a9\ud560 \uc218 \uc788\ub294 \ub2e8\uc77c \ubc14\uc774\ub108\ub9ac\ub97c \ucd9c\uc2dc\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.", "localization_tags": [], "locale": "ko", "last_edit": "2013-06-27T01:22:45", "review_tags": []}, {"uuid": "d530a3df-3d72-4b08-b05e-255b46f16342", "title": "js-ctypes", "url": "/pt-BR/docs/Mozilla/js-ctypes", "tags": [], "summary": "js-ctypes\u00a0permite que c\u00f3digo de aplica\u00e7\u00e3o e extens\u00e3o chamar e receber de c\u00f3digo nativo escrito em\u00a0C. Suporte a C++ \u00e9 poss\u00edvel atrav\u00e9s \u00a0de ponteiros\u00a0vtable
veja\u00a0Usando\u00a0COM a partir de js-ctypes. Para uma discuss\u00e3o sobre suporte extendido\u00a0ao C++ support veja \u00a0bug\u00a0505907. Outro que se tornou poss\u00edvel atrav\u00e9s do\u00a0js-ctypes \u00e9 o\u00a0\u00a0JNI, que foi elaborado no a se\u00e7\u00e3o\u00a0JNI.jsm e n\u00e3o na se\u00e7\u00e3o js-ctypes por causa da abstra\u00e7\u00e3o\u00a0do JSM \u00a0abstraindo todo o js-ctypes. Diferentemente de um componente\u00a0bin\u00e1rio\u00a0XPCOM, ela permite aos desenvolvedores \u00e0 embarcar um \u00fanico bin\u00e1rio para utiliza\u00e7\u00e3o em diversas vers\u00f5es do\u00a0Firefox.", "localization_tags": ["inprogress"], "locale": "pt-BR", "last_edit": "2016-09-23T05:40:15", "review_tags": []}, {"uuid": "383dddbf-fd12-4477-9377-b60de1248a25", "title": "js-ctypes", "url": "/zh-CN/docs/Mozilla/js-ctypes", "tags": [], "summary": "js-ctype\u53ef\u4ee5\u8ba9\u5e94\u7528\u7a0b\u5e8f\u548c\u6d4f\u89c8\u5668\u6269\u5c55\u4ee3\u7801\u8c03\u7528\u7528C/C++\u8bed\u8a00\u7f16\u5199\u7684\u672c\u5730\u4ee3\u7801.C++\u7684\u652f\u6301\u7a0b\u5ea6\u6709\u9650,\u67e5\u770bbug\u00a0505907\u4e86\u89e3\u66f4\u591a\u8be6\u60c5.\u548c\u4e8c\u8fdb\u5236\u7684XPCOM\u7ec4\u4ef6\u4e0d\u540c\u7684\u662f,\u7528\u6237\u7f16\u5199\u7684\u4e8c\u8fdb\u5236\u6587\u4ef6\u53ef\u4ee5\u7528\u5728\u591a\u4e2a\u7248\u672c\u7684Firefox\u4e2d.", "localization_tags": [], "locale": "zh-CN", "last_edit": "2013-01-23T03:16:10", "review_tags": []}, {"uuid": "3cf0ed5e-7083-4326-95c1-38c275e1a494", "title": "js-ctypes", "url": "/zh-TW/docs/Mozilla/js-ctypes", "tags": [], "summary": "js-ctypes allows application and extension code to call back and forth to native code written in C. C++ support is possible through vtable
pointers see \u4f7f\u7528 COM. For a discussion on extended C++ support see bug\u00a0505907. Unlike binary XPCOM components, It allows developers to ship a single binary for use with multiple versions of Firefox.", "localization_tags": ["inprogress"], "locale": "zh-TW", "last_edit": "2015-08-10T08:18:21", "review_tags": []}], "modified": "2016-10-13T22:37:49", "label": "js-ctypes", "localization_tags": [], "locale": "en-US", "id": 5393, "last_edit": "2016-10-13T22:37:46", "summary": "js-ctypes allows application and extension code to call back and forth to native code written in C. C++ support is possible through vtable
pointers see Using COM from js-ctypes. For a discussion on extended C++ support see bug\u00a0505907. Other work made possible by js-ctypes is JNI, this is elaborated on in the\u00a0JNI.jsm section and not the js-ctypes section due to the JSM abstracting away all of the js-ctypes. Unlike binary XPCOM components, it allows developers to ship a single binary for use with multiple versions of Firefox.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Documentation", "title": "Documentation"}, {"id": "Examples", "title": null}, {"id": "Community", "title": "Community"}, {"id": "Related_Topics", "title": "Related Topics"}], "slug": "Mozilla/js-ctypes", "review_tags": []}