mirror of https://github.com/mono/CppSharp.git
commit
20b0ce45f1
15 changed files with 151 additions and 0 deletions
After Width: | Height: | Size: 6.9 KiB |
@ -0,0 +1 @@
@@ -0,0 +1 @@
|
||||
:root{--primary:#0053fa}*{box-sizing:border-box}html,body{height:100%}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;color:#1d2d35;padding:16px;margin:0;display:flex;flex-direction:column}.center{margin-left:auto;margin-right:auto}.text-center{text-align:center}.top-nav{display:flex;justify-content:end}.btn{color:var(--primary);background:none;border-radius:5px;border:1px solid var(--primary);padding:12px 16px;font-size:1.1rem;margin:5px;cursor:pointer}.btn:hover,.btn.primary{background-color:var(--primary);color:#fff} |
@ -0,0 +1 @@
@@ -0,0 +1 @@
|
||||
h1.svelte-1qzxbme.svelte-1qzxbme{font-size:3rem}main.svelte-1qzxbme.svelte-1qzxbme{flex:1}.land.svelte-1qzxbme.svelte-1qzxbme{max-width:500px}.land.svelte-1qzxbme p.svelte-1qzxbme{font-size:1.5rem}section.svelte-1qzxbme.svelte-1qzxbme{margin:35px 0}.features.svelte-1qzxbme.svelte-1qzxbme{max-width:800px;margin:auto}.features-list.svelte-1qzxbme.svelte-1qzxbme{display:flex;justify-content:space-between;flex-direction:column}.features-list.svelte-1qzxbme .feature.svelte-1qzxbme{text-align:center;max-width:400px;margin:0 auto;flex:1}.features-list.svelte-1qzxbme .feature p.svelte-1qzxbme{font-size:1.2rem}@media only screen and (min-width: 600px){.features-list.svelte-1qzxbme.svelte-1qzxbme{flex-direction:row}.features-list.svelte-1qzxbme .feature.svelte-1qzxbme{max-width:230px}} |
@ -0,0 +1 @@
@@ -0,0 +1 @@
|
||||
function M(){}function T(t,n){for(const e in n)t[e]=n[e];return t}function N(t){return t()}function v(){return Object.create(null)}function g(t){t.forEach(N)}function D(t){return typeof t=="function"}function R(t,n){return t!=t?n==n:t!==n||t&&typeof t=="object"||typeof t=="function"}let m;function V(t,n){return m||(m=document.createElement("a")),m.href=n,t===m.href}function U(t){return Object.keys(t).length===0}function W(t,n,e,r){if(t){const o=O(t,n,e,r);return t[0](o)}}function O(t,n,e,r){return t[1]&&r?T(e.ctx.slice(),t[1](r(n))):e.ctx}function X(t,n,e,r){if(t[2]&&r){const o=t[2](r(e));if(n.dirty===void 0)return o;if(typeof o=="object"){const f=[],s=Math.max(n.dirty.length,o.length);for(let i=0;i<s;i+=1)f[i]=n.dirty[i]|o[i];return f}return n.dirty|o}return n.dirty}function Y(t,n,e,r,o,f){if(o){const s=O(n,e,r,f);t.p(s,o)}}function Z(t){if(t.ctx.length>32){const n=[],e=t.ctx.length/32;for(let r=0;r<e;r++)n[r]=-1;return n}return-1}function tt(t,n){t.appendChild(n)}function nt(t,n,e){t.insertBefore(n,e||null)}function G(t){t.parentNode.removeChild(t)}function et(t){return document.createElement(t)}function P(t){return document.createTextNode(t)}function rt(){return P(" ")}function ot(){return P("")}function ct(t,n,e){e==null?t.removeAttribute(n):t.getAttribute(n)!==e&&t.setAttribute(n,e)}function H(t){return Array.from(t.childNodes)}function ut(t,n){n=""+n,t.wholeText!==n&&(t.data=n)}function st(t,n,e,r){e===null?t.style.removeProperty(n):t.style.setProperty(n,e,r?"important":"")}let h;function _(t){h=t}function k(){if(!h)throw new Error("Function called outside component initialization");return h}function it(t){k().$$.on_mount.push(t)}function ft(t){k().$$.after_update.push(t)}function at(t,n){return k().$$.context.set(t,n),n}const d=[],S=[],y=[],q=[],z=Promise.resolve();let b=!1;function B(){b||(b=!0,z.then(F))}function lt(){return B(),z}function w(t){y.push(t)}const $=new Set;let p=0;function F(){const t=h;do{for(;p<d.length;){const n=d[p];p++,_(n),I(n.$$)}for(_(null),d.length=0,p=0;S.length;)S.pop()();for(let n=0;n<y.length;n+=1){const e=y[n];$.has(e)||($.add(e),e())}y.length=0}while(d.length);for(;q.length;)q.pop()();b=!1,$.clear(),_(t)}function I(t){if(t.fragment!==null){t.update(),g(t.before_update);const n=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,n),t.after_update.forEach(w)}}const x=new Set;let l;function dt(){l={r:0,c:[],p:l}}function _t(){l.r||g(l.c),l=l.p}function J(t,n){t&&t.i&&(x.delete(t),t.i(n))}function ht(t,n,e,r){if(t&&t.o){if(x.has(t))return;x.add(t),l.c.push(()=>{x.delete(t),r&&(e&&t.d(1),r())}),t.o(n)}}function gt(t,n){const e={},r={},o={$$scope:1};let f=t.length;for(;f--;){const s=t[f],i=n[f];if(i){for(const c in s)c in i||(r[c]=1);for(const c in i)o[c]||(e[c]=i[c],o[c]=1);t[f]=i}else for(const c in s)o[c]=1}for(const s in r)s in e||(e[s]=void 0);return e}function mt(t){return typeof t=="object"&&t!==null?t:{}}function pt(t){t&&t.c()}function K(t,n,e,r){const{fragment:o,on_mount:f,on_destroy:s,after_update:i}=t.$$;o&&o.m(n,e),r||w(()=>{const c=f.map(N).filter(D);s?s.push(...c):g(c),t.$$.on_mount=[]}),i.forEach(w)}function L(t,n){const e=t.$$;e.fragment!==null&&(g(e.on_destroy),e.fragment&&e.fragment.d(n),e.on_destroy=e.fragment=null,e.ctx=[])}function Q(t,n){t.$$.dirty[0]===-1&&(d.push(t),B(),t.$$.dirty.fill(0)),t.$$.dirty[n/31|0]|=1<<n%31}function yt(t,n,e,r,o,f,s,i=[-1]){const c=h;_(t);const u=t.$$={fragment:null,ctx:null,props:f,update:M,not_equal:o,bound:v(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(n.context||(c?c.$$.context:[])),callbacks:v(),dirty:i,skip_bound:!1,root:n.target||c.$$.root};s&&s(u.root);let E=!1;if(u.ctx=e?e(t,n.props||{},(a,j,...A)=>{const C=A.length?A[0]:j;return u.ctx&&o(u.ctx[a],u.ctx[a]=C)&&(!u.skip_bound&&u.bound[a]&&u.bound[a](C),E&&Q(t,a)),j}):[],u.update(),E=!0,g(u.before_update),u.fragment=r?r(u.ctx):!1,n.target){if(n.hydrate){const a=H(n.target);u.fragment&&u.fragment.l(a),a.forEach(G)}else u.fragment&&u.fragment.c();n.intro&&J(t.$$.fragment),K(t,n.target,n.anchor,n.customElement),F()}_(c)}class xt{$destroy(){L(this,1),this.$destroy=M}$on(n,e){const r=this.$$.callbacks[n]||(this.$$.callbacks[n]=[]);return r.push(e),()=>{const o=r.indexOf(e);o!==-1&&r.splice(o,1)}}$set(n){this.$$set&&!U(n)&&(this.$$.skip_bound=!0,this.$$set(n),this.$$.skip_bound=!1)}}export{W as A,V as B,tt as C,Y as D,Z as E,X as F,xt as S,ct as a,st as b,nt as c,ut as d,et as e,G as f,rt as g,ot as h,yt as i,dt as j,ht as k,_t as l,J as m,M as n,at as o,ft as p,it as q,pt as r,R as s,P as t,K as u,gt as v,mt as w,L as x,T as y,lt as z}; |
@ -0,0 +1 @@
@@ -0,0 +1 @@
|
||||
import{S as j,i as w,s as z,e as k,t as c,c as o,C as b,d,f as m,g as N,h as A,n as S}from"./chunks/index-ddf26652.js";function q(i){let f,l=i[1].frame+"",r;return{c(){f=k("pre"),r=c(l)},m(s,t){o(s,f,t),b(f,r)},p(s,t){t&2&&l!==(l=s[1].frame+"")&&d(r,l)},d(s){s&&m(f)}}}function E(i){let f,l=i[1].stack+"",r;return{c(){f=k("pre"),r=c(l)},m(s,t){o(s,f,t),b(f,r)},p(s,t){t&2&&l!==(l=s[1].stack+"")&&d(r,l)},d(s){s&&m(f)}}}function B(i){let f,l,r,s,t=i[1].message+"",v,C,p,_,a=i[1].frame&&q(i),u=i[1].stack&&E(i);return{c(){f=k("h1"),l=c(i[0]),r=N(),s=k("pre"),v=c(t),C=N(),a&&a.c(),p=N(),u&&u.c(),_=A()},m(e,n){o(e,f,n),b(f,l),o(e,r,n),o(e,s,n),b(s,v),o(e,C,n),a&&a.m(e,n),o(e,p,n),u&&u.m(e,n),o(e,_,n)},p(e,[n]){n&1&&d(l,e[0]),n&2&&t!==(t=e[1].message+"")&&d(v,t),e[1].frame?a?a.p(e,n):(a=q(e),a.c(),a.m(p.parentNode,p)):a&&(a.d(1),a=null),e[1].stack?u?u.p(e,n):(u=E(e),u.c(),u.m(_.parentNode,_)):u&&(u.d(1),u=null)},i:S,o:S,d(e){e&&m(f),e&&m(r),e&&m(s),e&&m(C),a&&a.d(e),e&&m(p),u&&u.d(e),e&&m(_)}}}function G({error:i,status:f}){return{props:{error:i,status:f}}}function D(i,f,l){let{status:r}=f,{error:s}=f;return i.$$set=t=>{"status"in t&&l(0,r=t.status),"error"in t&&l(1,s=t.error)},[r,s]}class H extends j{constructor(f){super(),w(this,f,D,B,z,{status:0,error:1})}}export{H as default,G as load}; |
@ -0,0 +1,58 @@
@@ -0,0 +1,58 @@
|
||||
{ |
||||
".svelte-kit/runtime/client/start.js": { |
||||
"file": "start-b614db8d.js", |
||||
"src": ".svelte-kit/runtime/client/start.js", |
||||
"isEntry": true, |
||||
"imports": [ |
||||
"_index-ddf26652.js" |
||||
], |
||||
"dynamicImports": [ |
||||
"src/routes/__layout.svelte", |
||||
".svelte-kit/runtime/components/error.svelte", |
||||
"src/routes/index.svelte" |
||||
] |
||||
}, |
||||
"src/routes/__layout.svelte": { |
||||
"file": "pages/__layout.svelte-ee12c791.js", |
||||
"src": "src/routes/__layout.svelte", |
||||
"isEntry": true, |
||||
"isDynamicEntry": true, |
||||
"imports": [ |
||||
"_index-ddf26652.js" |
||||
], |
||||
"css": [ |
||||
"assets/pages/__layout.svelte-3a5c0326.css" |
||||
], |
||||
"assets": [ |
||||
"assets/github-25b2f417.svg" |
||||
] |
||||
}, |
||||
".svelte-kit/runtime/components/error.svelte": { |
||||
"file": "error.svelte-201176ad.js", |
||||
"src": ".svelte-kit/runtime/components/error.svelte", |
||||
"isEntry": true, |
||||
"isDynamicEntry": true, |
||||
"imports": [ |
||||
"_index-ddf26652.js" |
||||
] |
||||
}, |
||||
"src/routes/index.svelte": { |
||||
"file": "pages/index.svelte-4b0bd34d.js", |
||||
"src": "src/routes/index.svelte", |
||||
"isEntry": true, |
||||
"isDynamicEntry": true, |
||||
"imports": [ |
||||
"_index-ddf26652.js" |
||||
], |
||||
"css": [ |
||||
"assets/pages/index.svelte-0f0e1da7.css" |
||||
], |
||||
"assets": [ |
||||
"assets/logo-b74e2b5e.svg", |
||||
"assets/kythera-ai-242ee8c4.png" |
||||
] |
||||
}, |
||||
"_index-ddf26652.js": { |
||||
"file": "chunks/index-ddf26652.js" |
||||
} |
||||
} |
@ -0,0 +1 @@
@@ -0,0 +1 @@
|
||||
import{S as C,i as b,s as h,A as y,e as p,g as d,B as S,a as o,c,C as g,D as q,E as G,F as k,m as w,k as A,f as m}from"../chunks/index-ddf26652.js";var B="/_app/assets/github-25b2f417.svg";function D(i){let s,n,a,f,_,v,u,r;const $=i[1].default,e=y($,i,i[0],null);return{c(){s=p("nav"),n=p("a"),a=p("img"),_=d(),e&&e.c(),v=d(),u=p("footer"),u.textContent="Copyright (\xA9) 2022 CppSharp",S(a.src,f=B)||o(a,"src",f),o(a,"width","35"),o(a,"height","35"),o(a,"alt","Git"),o(n,"href","https://github.com/mono/CppSharp"),o(s,"class","top-nav"),o(u,"class","text-center")},m(t,l){c(t,s,l),g(s,n),g(n,a),c(t,_,l),e&&e.m(t,l),c(t,v,l),c(t,u,l),r=!0},p(t,[l]){e&&e.p&&(!r||l&1)&&q(e,$,t,t[0],r?k($,t[0],l,null):G(t[0]),null)},i(t){r||(w(e,t),r=!0)},o(t){A(e,t),r=!1},d(t){t&&m(s),t&&m(_),e&&e.d(t),t&&m(v),t&&m(u)}}}function E(i,s,n){let{$$slots:a={},$$scope:f}=s;return i.$$set=_=>{"$$scope"in _&&n(0,f=_.$$scope)},[f,a]}class H extends C{constructor(s){super(),b(this,s,E,D,h,{})}}export{H as default}; |
@ -0,0 +1,10 @@
@@ -0,0 +1,10 @@
|
||||
import{S as H,i as M,s as T,e as s,t as K,g as o,B as G,a as t,b as g,c as B,C as e,n as f,f as D}from"../chunks/index-ddf26652.js";var E="/_app/assets/logo-b74e2b5e.svg",F="/_app/assets/kythera-ai-242ee8c4.png";function J(I){let a,m,l,r,i,q,z,_,v,C,p,y,d,S,h,w,u,c,x,L,n,k;return{c(){a=s("main"),m=s("section"),l=s("div"),r=s("h1"),i=s("img"),z=K(" CppSharp"),_=o(),v=s("p"),v.textContent="Stop writing PInvoke methods by hand. Accelerate your development.",C=o(),p=s("p"),p.textContent="CppSharp facilitates the usage of native C/C++ code with the .NET ecosystem.",y=o(),d=s("div"),d.innerHTML=`<a href="https://github.com/mono/CppSharp/blob/main/docs/GettingStarted.md"><button class="btn primary">Get started</button></a>
|
||||
<a href="https://gitter.im/managed-interop"><button class="btn">Join our Gitter</button></a>`,S=o(),h=s("section"),h.innerHTML=`<div class="features svelte-1qzxbme"><h2 class="text-center">Features</h2> |
||||
<div class="features-list svelte-1qzxbme"><div class="feature svelte-1qzxbme"><h3>Cross-platform</h3> |
||||
<p class="svelte-1qzxbme">Distributed as a nuget package that supports Windows, Linux, and OS X.</p></div> |
||||
|
||||
<div class="feature svelte-1qzxbme"><h3>High-performance</h3> |
||||
<p class="svelte-1qzxbme">Generates high-performance C# code with minimal overhead.</p></div> |
||||
|
||||
<div class="feature svelte-1qzxbme"><h3>Multiple backends</h3> |
||||
<p class="svelte-1qzxbme">Supports generating C# code, as well as C++/CLI.</p></div></div></div>`,w=o(),u=s("section"),c=s("div"),x=s("h2"),x.textContent="Sponsors",L=o(),n=s("img"),G(i.src,q=E)||t(i,"src",q),t(i,"width","50"),t(i,"height","50"),g(i,"vertical-align","middle"),t(i,"alt",""),t(r,"class","text-center svelte-1qzxbme"),g(r,"margin-top","25px"),t(v,"class","text-center svelte-1qzxbme"),t(p,"class","text-center svelte-1qzxbme"),g(p,"font-size","1.2rem"),t(d,"class","text-center"),t(l,"class","land center svelte-1qzxbme"),t(m,"class","svelte-1qzxbme"),t(h,"class","svelte-1qzxbme"),G(n.src,k=F)||t(n,"src",k),t(n,"width","300"),t(n,"height","55"),t(n,"alt","Kythera AI"),t(c,"class","sponsors text-center"),t(u,"class","svelte-1qzxbme"),t(a,"class","svelte-1qzxbme")},m(b,A){B(b,a,A),e(a,m),e(m,l),e(l,r),e(r,i),e(r,z),e(l,_),e(l,v),e(l,C),e(l,p),e(l,y),e(l,d),e(a,S),e(a,h),e(a,w),e(a,u),e(u,c),e(c,x),e(c,L),e(c,n)},p:f,i:f,o:f,d(b){b&&D(a)}}}class O extends H{constructor(a){super(),M(this,a,null,J,T,{})}}export{O as default}; |
File diff suppressed because one or more lines are too long
@ -0,0 +1,53 @@
@@ -0,0 +1,53 @@
|
||||
<!DOCTYPE html> |
||||
<html lang="en"> |
||||
|
||||
<head> |
||||
<meta charset="utf-8" /> |
||||
<link rel="icon" href="./favicon.svg" /> |
||||
<meta name="viewport" content="width=device-width, initial-scale=1" /> |
||||
<title>CppSharp</title> |
||||
<meta name="description" content="CppSharp"> |
||||
<meta http-equiv="content-security-policy" content=""> |
||||
<style>:root{--primary:#0053fa}*{box-sizing:border-box}html,body{height:100%}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;color:#1d2d35;padding:16px;margin:0;display:flex;flex-direction:column}.center{margin-left:auto;margin-right:auto}.text-center{text-align:center}.top-nav{display:flex;justify-content:end}.btn{color:var(--primary);background:none;border-radius:5px;border:1px solid var(--primary);padding:12px 16px;font-size:1.1rem;margin:5px;cursor:pointer}.btn:hover,.btn.primary{background-color:var(--primary);color:#fff} |
||||
|
||||
h1.svelte-1qzxbme.svelte-1qzxbme{font-size:3rem}main.svelte-1qzxbme.svelte-1qzxbme{flex:1}.land.svelte-1qzxbme.svelte-1qzxbme{max-width:500px}.land.svelte-1qzxbme p.svelte-1qzxbme{font-size:1.5rem}section.svelte-1qzxbme.svelte-1qzxbme{margin:35px 0}.features.svelte-1qzxbme.svelte-1qzxbme{max-width:800px;margin:auto}.features-list.svelte-1qzxbme.svelte-1qzxbme{display:flex;justify-content:space-between;flex-direction:column}.features-list.svelte-1qzxbme .feature.svelte-1qzxbme{text-align:center;max-width:400px;margin:0 auto;flex:1}.features-list.svelte-1qzxbme .feature p.svelte-1qzxbme{font-size:1.2rem}@media only screen and (min-width: 600px){.features-list.svelte-1qzxbme.svelte-1qzxbme{flex-direction:row}.features-list.svelte-1qzxbme .feature.svelte-1qzxbme{max-width:230px}} |
||||
</style> |
||||
<link rel="stylesheet" href="/_app/assets/pages/__layout.svelte-3a5c0326.css" disabled media="(max-width: 0)"> |
||||
<link rel="stylesheet" href="/_app/assets/pages/index.svelte-0f0e1da7.css" disabled media="(max-width: 0)"> |
||||
</head> |
||||
|
||||
<body> |
||||
|
||||
|
||||
|
||||
<nav class="top-nav"><a href="https://github.com/mono/CppSharp"><img src="/_app/assets/github-25b2f417.svg" width="35" height="35" alt="Git"></a></nav> |
||||
|
||||
<main class="svelte-1qzxbme"><section class="svelte-1qzxbme"><div class="land center svelte-1qzxbme"><h1 class="text-center svelte-1qzxbme" style="margin-top: 25px"><img src="/_app/assets/logo-b74e2b5e.svg" width="50" height="50" style="vertical-align: middle" alt=""> CppSharp |
||||
</h1> |
||||
|
||||
<p class="text-center svelte-1qzxbme">Stop writing PInvoke methods by hand. Accelerate your development.</p> |
||||
|
||||
<p class="text-center svelte-1qzxbme" style="font-size: 1.2rem">CppSharp facilitates the usage of native C/C++ code with the .NET ecosystem. |
||||
</p> |
||||
|
||||
<div class="text-center"><a href="https://github.com/mono/CppSharp/blob/main/docs/GettingStarted.md"><button class="btn primary">Get started</button></a> |
||||
<a href="https://gitter.im/managed-interop"><button class="btn">Join our Gitter</button></a></div></div></section> |
||||
<section class="svelte-1qzxbme"><div class="features svelte-1qzxbme"><h2 class="text-center">Features</h2> |
||||
<div class="features-list svelte-1qzxbme"><div class="feature svelte-1qzxbme"><h3>Cross-platform</h3> |
||||
<p class="svelte-1qzxbme">Distributed as a nuget package that supports Windows, Linux, and OS X.</p></div> |
||||
|
||||
<div class="feature svelte-1qzxbme"><h3>High-performance</h3> |
||||
<p class="svelte-1qzxbme">Generates high-performance C# code with minimal overhead.</p></div> |
||||
|
||||
<div class="feature svelte-1qzxbme"><h3>Multiple backends</h3> |
||||
<p class="svelte-1qzxbme">Supports generating C# code, as well as C++/CLI.</p></div></div></div></section> |
||||
<section class="svelte-1qzxbme"><div class="sponsors text-center"><h2>Sponsors</h2> |
||||
<img src="/_app/assets/kythera-ai-242ee8c4.png" width="300" height="55" alt="Kythera AI"></div></section> |
||||
</main> |
||||
|
||||
<footer class="text-center">Copyright (©) 2022 CppSharp</footer> |
||||
|
||||
|
||||
</body> |
||||
|
||||
</html> |
Loading…
Reference in new issue