This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func copySlice(dst interface{}, src interface{}) error { | |
d := reflect.ValueOf(dst) | |
if !d.CanAddr() { | |
d = d.Elem() | |
} else { | |
return errors.New("dst must be pointer") | |
} | |
s := reflect.ValueOf(src) | |
c := reflect.MakeSlice(d.Type(), s.Len(), s.Len()) | |
reflect.Copy(c, s) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC -//Apple Computer//DTD PLIST 1.0//EN | |
http://www.apple.com/DTDs/PropertyList-1.0.dtd > | |
<plist version="1.0"> | |
<dict> | |
<key>EnvironmentVariables</key> | |
<dict> | |
<key>GOPATH</key> | |
<string>{YOUR GOPATH}</string> | |
<key>GOROOT</key> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// libsass (v3.1.0) | |
// ---- | |
%branch { color: brown; } | |
%leaf { color: green; } | |
div.branch { | |
@extend %branch; | |
.leaf { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.4.11) | |
// Compass (v1.0.3) | |
// ---- | |
nav | |
ul | |
margin: 0 | |
padding: 0 | |
list-style: none |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Applications/Xcode.app/Contents/Developer/usr/bin/make -f ../../Makefile CXXFLAGS='-Wall -std=c++11' SRCDIR='' CSRCS='cencode.c' CXXSRCS='ast.cxx base64vlq.cxx bind.cxx constants.cxx context.cxx contextualize.cxx copy_c_str.cxx cssize.cxx error_handling.cxx eval.cxx expand.cxx extend.cxx file.cxx functions.cxx inspect.cxx node.cxx json.cxx output_compressed.cxx output_nested.cxx parser.cxx position.cxx prelexer.cxx remove_placeholders.cxx sass.cxx sass_util.cxx sass_values.cxx sass_context.cxx sass_functions.cxx sass_interface.cxx sass2scss.cxx source_map.cxx to_c.cxx to_string.cxx units.cxx utf8_string.cxx util.cxx' SWIG='../../../preinst-swig -v' \ | |
TARGET='example' INTERFACE='example.i' go_cpp | |
../../../preinst-swig -v -go -c++ -intgosize 64 `if false ; then echo -gccgo; fi` -o example_wrap.cxx example.i | |
Language subdirectory: go | |
Search paths: | |
./ | |
./swig_lib/go/ | |
/Users/drew/code/swig/Lib/go/ | |
./swig_lib/ | |
/Users/drew/code/swig/Lib/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div>Hello</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// libsass (v2.0.0) | |
// ---- | |
@if true { | |
// Comment | |
&::#{$defined} { | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// libsass (v2.0.0) | |
// ---- | |
$placeholder: true; | |
@if $placeholder { | |
// Comment | |
&::#{$defined} { | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// libsass (v2.0.0) | |
// ---- | |
@mixin placeholder { | |
// Comment | |
&::#{$defined} { | |
} | |
} | |
@include placeholder; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.2.19) | |
// Compass (v0.12.6) | |
// ---- | |
// Sass List-Maps 1.0.0 | |
// a libsass polyfill for rubysass "maps" data-type -- using lists | |
// by @lunelson | |
// MIT License |